From 9ced6efcbcfa530ce40c391c348ac25ff51f5c22 Mon Sep 17 00:00:00 2001 From: Kazuyoshi Kato Date: Wed, 10 Apr 2019 23:00:38 -0700 Subject: [PATCH] Fix /crates/$crate_id --- fastboot/initializers/ajax.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fastboot/initializers/ajax.js diff --git a/fastboot/initializers/ajax.js b/fastboot/initializers/ajax.js new file mode 100644 index 0000000000..f0950ec2ca --- /dev/null +++ b/fastboot/initializers/ajax.js @@ -0,0 +1,8 @@ +export default { + name: 'ajax-service', + initialize() { + // This is to override Fastboot's initializer which prevents ember-fetch from working + // https://github.com/ember-fastboot/ember-cli-fastboot/blob/master/fastboot/initializers/ajax.js + // https://github.com/ember-cli/ember-fetch#ajax-service + }, +};