From 782d881fac3104ae2a40fd9a58b58779dba71763 Mon Sep 17 00:00:00 2001 From: Mell Date: Wed, 27 Dec 2023 14:52:22 +0200 Subject: [PATCH] Add Grill to cors policy --- src/constant/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constant/env.ts b/src/constant/env.ts index da2a8db..d890ea7 100644 --- a/src/constant/env.ts +++ b/src/constant/env.ts @@ -1,6 +1,6 @@ export const reqTimeoutSecs = 60 -export const allowedOrigins = [ 'sub.id', 'polkaverse.com', 'subsocial.network' ] // process.env.CORS_ALLOWED_ORIGIN?.split(',').map(x => x.trim()) || ['http://localhost'] +export const allowedOrigins = [ 'sub.id', 'polkaverse.com', 'subsocial.network', 'grill.chat' ] // process.env.CORS_ALLOWED_ORIGIN?.split(',').map(x => x.trim()) || ['http://localhost'] export const port = process.env.OFFCHAIN_SERVER_PORT || 3001