Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf872f9

Browse files
committedAug 12, 2024·
properly remove extra space
1 parent 98d5320 commit cf872f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎server/previewServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ const corsMiddleware = cors({
5656
origin: allowedCorsOrigins
5757
});
5858
app.use(corsMiddleware);
59-
6059
// Enable pre-flight OPTIONS route for all end-points
6160
app.options('*', corsMiddleware);
61+
6262
// Run Webpack dev server in development mode
6363
if (process.env.NODE_ENV === 'development') {
6464
const compiler = webpack(config);

0 commit comments

Comments
 (0)
Please sign in to comment.