Skip to content

Commit 829815c

Browse files
committed
Enable Fastboot
1 parent 75c0970 commit 829815c

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

app/index.html

-7
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
</head>
2020
<body>
2121
{{content-for 'body'}}
22-
<noscript>
23-
<div id="main">
24-
<div class='noscript'>
25-
This site requires JavaScript to be enabled.
26-
</div>
27-
</div>
28-
</noscript>
2922

3023
<script src="{{rootURL}}assets/vendor.js"></script>
3124
<script src="{{rootURL}}assets/cargo.js"></script>

config/environment.js

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ module.exports = function(environment) {
2222
// Here you can pass flags/options to your application instance
2323
// when it is created
2424
},
25+
fastboot: {
26+
hostWhitelist: ['crates.io', /^localhost:\d+$/],
27+
},
2528
};
2629

2730
if (environment === 'development') {

0 commit comments

Comments
 (0)