Skip to content
Permalink
Browse files
feat: updates urls
  • Loading branch information
MantasMikal committed Jan 18, 2021
1 parent 1e00994 commit 77a5da1e84040b87fc1c29248922250840961458
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
@@ -11,4 +11,5 @@ lib/
*.swp
.idea/
.vs/
.vscode/
.vscode/
certs
@@ -3,7 +3,7 @@
"name": "WebAuthn UX Test API - Prod Mode",
"mode": "production",
"protocol": "https",
"siteUrl": "https://webauthnux-site.herokuapp.com",
"serverUrl": "webauthnux-api.herokuapp.com"
"siteUrl": "https://web-authn.studio",
"serverUrl": "api.web-authn.studio"
}
}
@@ -14,7 +14,7 @@ const config = cfg.get(mode);

app.use(
cors({
origin: config.siteUrl,
origin: [config.siteUrl, 'localhost', 'http://web-authn.studio'],
credentials: true,
allowedHeaders: ["Content-Type","Authorization","X-Requested-With","X-Forwarded-Proto", "Cookie","Set-Cookie"],
exposedHeaders: ["Content-Type","Authorization","X-Requested-With","X-Forwarded-Proto","Cookie","Set-Cookie"]

0 comments on commit 77a5da1

Please sign in to comment.