Skip to content

Commit 24f8f32

Browse files
author
Guillaume Chau
committed
fix(cors): only allow localhost
1 parent 00acca5 commit 24f8f32

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli/lib

1 file changed

+1
-1
lines changed

packages/@vue/cli/lib/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function ui (options = {}, context = process.cwd()) {
3636
subscriptionsPath: '/graphql',
3737
enableMocks: false,
3838
enableEngine: false,
39-
cors: '*',
39+
cors: 'localhost',
4040
timeout: 1000000,
4141
quiet: true,
4242
paths: {

0 commit comments

Comments
 (0)