-
Notifications
You must be signed in to change notification settings - Fork 82
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
Uncaught DOMException #140
Comments
The script ended up loading successfully after commenting out this part of the code from src/embed/client.js: and then running "npm run build" so that the embeds will be recompiled. I will mention though that the 2 authentication methods i've tried (github and mastodon) aren't working, maybe it is related to commenting out that piece of code. EDIT: Solution: got a domain name "www.blabla.com" and therefore could uncomment the piece of code mentioned above
|
Hello, trying to set up Schnack on heroku and even though it works when it runs locally (heroku local web):
![image](https://user-images.githubusercontent.com/16176486/126212794-a7ac58dd-520d-4ba3-83c4-903361dc3d3a.png)
after the push on heroku it shows Uncaught DOMException error when trying to load this script (asdasdasd is not the actual name):
![image](https://user-images.githubusercontent.com/16176486/126211950-f974da3d-e593-468a-b70d-7da395cd66b9.png)
the exact error messages are:
since using a config.json didn't seem to work, i edited the src/config.js file directly as such:
![image](https://user-images.githubusercontent.com/16176486/126213524-1d264dba-5f73-40e6-af68-fde0e894bb89.png)
Procfile:
![image](https://user-images.githubusercontent.com/16176486/126213621-d59eb65c-2d2e-49be-b12e-e02fc04243a3.png)
heroku environmental variables:
![image](https://user-images.githubusercontent.com/16176486/126213820-8faf023c-b32c-43f4-9bea-72219ad74ab7.png)
same as the local environmental variables defined in a .env file, this filed is used when the command "heroku local web" is run which as i mentioned earlier loads the Schnack script fine:
![image](https://user-images.githubusercontent.com/16176486/126214029-e7cd580f-712a-4e02-b05b-1a8633e03cb7.png)
let me know if there is any other information i can provide, my goal here is to use Schnack as a basis and expand on it by eg adding anonymous comments, so suggestions to deploy it somewhere else other than heroku are also welcome, thanks
The text was updated successfully, but these errors were encountered: