Running [email protected]
on Ubuntu 16.04.2 LTS
with a fresh installation.
.meteor/local/build
& .meteor/local/bundler-cache/*
)~/.meteor
)I need this to adjust the policy for loading the Stripe api on a galaxy hosted application.
Thanks for reporting this issue, and especially for providing a reproduction. It looks like you're trying to import { BrowserPolicy } from "meteor/browser-policy"
on the client, but it's only available on the server. If you put your code in server/main.js
instead, everything should work.
@benjamn - Ah thank you! Relatively simple oversight, of course it needs to run on the server, it's an HTTP header that needs to be sent. I've got it working locally and presume I'll be able to make it work on Galaxy deployment. I'll close this issue once I confirm fully and deploy (today or tomorrow).
Well that was quick, deployment worked and script is now loading from Stripe :)
Most helpful comment
Well that was quick, deployment worked and script is now loading from Stripe :)