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

[help!] webapp refuses to work after deployed via github pages #115

Open
suXXVI opened this issue May 18, 2023 · 0 comments
Open

[help!] webapp refuses to work after deployed via github pages #115

suXXVI opened this issue May 18, 2023 · 0 comments

Comments

@suXXVI
Copy link

suXXVI commented May 18, 2023

so i have a web app that can clone the discovery weekly playlist, if i open the project locally on my pc with vscode, it works just fine.

In the project i have the redirect_uri as window.location.origin.

on my dashboard i have added these to the list of Redirect URIs:

  1. http://127.0.0.1:5500/
    
  2. http://127.0.0.1:5500
    
  3. https://suxxvi.github.io/DiscoverWeeklyToNewPlaylist/callback
    
  4. https://suxxvi.github.io/DiscoverWeeklyToNewPlaylist/
    

the first two works fine if i'm using the project locally like i've mentioned above, but they dont work after i deployed the app with github pages. so i tried using the github pages link as the redirect_uri, the app loads up but the javascript side of things all stopped working. I have the repo on my account, its called DiscoverWeeklytoNewPlaylist if you want to look at the code.

any ideas on how to fix this? :/

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant