許可するヘッダーを追加
This commit is contained in:
parent
de2b2227e2
commit
58203f39c8
@ -19,7 +19,7 @@ async function bootstrap() {
|
||||
app.enableCors({
|
||||
origin: 'http://localhost:8180',
|
||||
methods: 'GET,PUT,POST,DELETE,OPTION',
|
||||
allowedHeaders: 'Content-Type',
|
||||
allowedHeaders: 'Origin,Content-Type,Accept,Authorization',
|
||||
});
|
||||
app.use(
|
||||
helmet({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user