Skip to content

Commit

Permalink
set authorization: true on js imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeits committed May 2, 2018
1 parent a2e7a92 commit 2e98ad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/webio/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ function doImports(scope, imp) {
case "js":
var cfg = {paths: {}}
cfg.paths[imp.name] = imp.url
cfg.meta = {};
cfg.meta[imp.url] = {authorization: true};
SystemJS.config(cfg)
return SystemJS.import(imp.url).then(function (mod) {
if (imp.name) {
Expand Down

0 comments on commit 2e98ad6

Please sign in to comment.