Skip to content

Commit 5199a5f

Browse files
committed
CORS: Staging
1 parent 8a27f8e commit 5199a5f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/env/staging.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ module.exports = {
4343

4444
grunt: {
4545
_hookTimeout: 60000
46+
},
47+
48+
cors: {
49+
allRoutes: true,
50+
origin: '*',
51+
credentials: true,
52+
exposeHeaders: 'X-RStudio-Ajax, X-RStudio-Redirect, X-Rstudio-Session',
53+
methods: 'GET, POST, PUT, DELETE, OPTIONS, HEAD',
54+
headers: 'Content-Type, Accept-Encoding, X-Shared-Secret, X-Requested-With, Cache-Control, X-RStudio-Ajax, X-RStudio-Redirect, X-Rstudio-Session'
4655
}
4756

4857
};

0 commit comments

Comments
 (0)