remove old links (#1243)
This commit is contained in:
+2
-2
@@ -194,7 +194,7 @@ app.use(compression({
|
||||
const corsOptions = {
|
||||
origin: function (origin, callback) {
|
||||
const allowedOrigins = process.env.NODE_ENV === 'production'
|
||||
? [process.env.PRODUCTION_DOMAIN || 'https://srebot-meow.ing']
|
||||
? [process.env.PRODUCTION_DOMAIN || 'https://sre.pawjob.us']
|
||||
: ['http://localhost:3000', 'http://localhost:3001'];
|
||||
|
||||
|
||||
@@ -216,7 +216,7 @@ const corsOptions = {
|
||||
const apiCorsOptions = {
|
||||
origin: function (origin, callback) {
|
||||
const allowedOrigins = process.env.NODE_ENV === 'production'
|
||||
? [process.env.PRODUCTION_DOMAIN || 'https://srebot-meow.ing']
|
||||
? [process.env.PRODUCTION_DOMAIN || 'https://sre.pawjob.us']
|
||||
: ['http://localhost:3000', 'http://localhost:3001'];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user