Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Auto merge of #1715 - kzys:enable-fastboot, r=jtgeibel" #1827

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module.exports = {
'.eslintrc.js',
'.template-lintrc.js',
'ember-cli-build.js',
'fastboot.js',
'testem.js',
'blueprints/*/index.js',
'config/**/*.js',
Expand Down
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release: bin/diesel migration run
web: bin/start-nginx npm run nf -- --procfile foreman-procfile start --raw
web: bin/start-nginx ./target/release/server
background_worker: ./target/release/background-worker
4 changes: 1 addition & 3 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ body {
@include align-items(center);
}

/* .ember-application is added by Ember after initial rendering */
.ember-application > div,
body > div {
.ember-application > div {
width: 960px;
@media only screen and (max-width: 960px) {
width: 100%;
Expand Down
3 changes: 0 additions & 3 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ module.exports = function(environment) {
// Here you can pass flags/options to your application instance
// when it is created
},
fastboot: {
hostWhitelist: ['crates.io', /^localhost:\d+$/, /\.herokuapp\.com$/],
},
};

if (environment === 'development') {
Expand Down
5 changes: 0 additions & 5 deletions config/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ http {
proxy_pass http://app_server;
}

# Just in case, only forward "/policies" to Ember for a moment
location = /policies {
proxy_pass http://localhost:9000;
}

location ~ ^/api/v./crates/new$ {
proxy_pass http://app_server;

Expand Down
56 changes: 0 additions & 56 deletions fastboot.js

This file was deleted.

8 changes: 0 additions & 8 deletions fastboot/initializers/ajax.js

This file was deleted.

2 changes: 0 additions & 2 deletions foreman-procfile

This file was deleted.

Loading