File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,7 @@ const COMMIT_HASH = childProcess
2727 . toString ( ) ;
2828const VERSION = `${ COMMIT_COUNT } -${ COMMIT_HASH } ` ;
2929
30- const publicPath = __PROD__
31- ? 'https://codesandbox.io/'
32- : 'https://codesandbox.dev/' ;
30+ const publicPath = __PROD__ ? 'https://codesandbox.io/' : '/' ;
3331
3432const getOutput = ( ) =>
3533 __DEV__
@@ -442,6 +440,16 @@ if (__PROD__) {
442440 } ,
443441 } ,
444442 } ,
443+ {
444+ urlPattern : / w e b p a c k - d l l - p r o d \. h e r o k u a p p \. c o m / ,
445+ handler : 'fastest' ,
446+ options : {
447+ cache : {
448+ maxEntries : 100 ,
449+ name : 'packager-cache' ,
450+ } ,
451+ } ,
452+ } ,
445453 {
446454 urlPattern : / h t t p s : \/ \/ d 3 i 2 v 4 d x q v x a q 9 \. c l o u d f r o n t \. n e t / ,
447455 handler : 'fastest' ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function getHost() {
44 }
55
66 return process . env . NODE_ENV === 'development'
7- ? 'https://codesandbox.dev '
7+ ? '* '
88 : 'https://codesandbox.io' ;
99}
1010
You can’t perform that action at this time.
0 commit comments