Skip to content

Commit

Permalink
cloud: cors for manage.scrypted.app
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jul 16, 2024
1 parent 1effc45 commit e71f9b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugins/cloud/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@
"@types/nat-upnp": "^1.1.5",
"@types/node": "^20.14.6"
},
"version": "0.2.23"
"version": "0.2.24"
}
2 changes: 1 addition & 1 deletion plugins/cloud/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings,
try {
endpointManager.setAccessControlAllowOrigin({
origins: [
`http://${SCRYPTED_SERVER}`,
'https://manage.scrypted.app',
`https://${SCRYPTED_SERVER}`,
...this.storageSettings.values.additionalCorsOrigins,
],
Expand Down

0 comments on commit e71f9b5

Please sign in to comment.