Skip to content

Commit 82f14d2

Browse files
author
pierregee
committed
chore(ops): replace incorrect origin url
2 parents 9d394ff + ea1eb2f commit 82f14d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/src/MetascanServerApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class MetascanServerApp<App extends NestFastifyApplication = NestFastifyA
2121
async configureApp(app): Promise<void> {
2222
app.enableCors({
2323
allowedHeaders: '*',
24-
methods: ['GET', 'PUT', 'POST', 'DELETE'],
24+
methods: ['GET', 'PUT', 'POST', 'DELETE', 'OPTIONS'],
2525
maxAge: 60 * 24 * 7,
2626
origin:
2727
process.env.NODE_ENV === 'production'

0 commit comments

Comments
 (0)