Skip to content

Commit b168aa7

Browse files
committed
Fix proxyRemoteFiles config
1 parent bd3015e commit b168aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/load.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function load() {
3232

3333
config.port = config.port || parseInt(process.env.PORT || '', 10);
3434

35-
config.proxyRemoteFiles = !config.proxyRemoteFiles === false;
35+
config.proxyRemoteFiles = typeof config.proxyRemoteFiles === 'boolean' ? config.proxyRemoteFiles : true;
3636

3737
const icons = {
3838
favicon: {

0 commit comments

Comments
 (0)