Comments (3)
Hello, I'm glad you put interest in setting up my project!
I think I know what is happening.
You set the api behind /api
. So when calling /me
it calls /api/me
which doesn't exist in the server.
Using nginx, you should rewrite the actual url before proxy'ing to the server to /me
instead of /api/me
. Or you could simply set the server to api-spotify.domain.com.
I hope this will help you, do not hesitate to ask further informations.
from your_spotify.
Hi! Thanks for the quick reply. I immediately went to bed after posting the issue.
You were right, rewriting the url did the trick. I added the following line to my /api location.
rewrite /api/(.*) /$1 break;
All works just fine.
Would like to disable the registration ability now tho. It was previously discussed on #9. Any progress on that?
You think nginx auth_basic would be enough for a workaround?
from your_spotify.
Hello,
Happy to ear that it works now! I don't know much about nginx auth_basic, maybe you should investigate that.
I didn't work much on blocking registers but I'll consider implementing it next time.
Marking this as solved.
Have a great day :)
from your_spotify.
Related Issues (20)
- feature request: import marquee
- feature request: api logs
- tracks only added if played fully HOT 1
- 500 on "Top song" and "Top artist" HOT 3
- Not sure how to add multiple users HOT 1
- How do you avoid holes in listening history?
- Feature Request: Date and Time Localization
- Cache Calcuations? HOT 1
- Error on server startup when using Free tier MongoAtlas cluster HOT 1
- cant connect to mongodb HOT 4
- Server Crash: Error grabbing logs HOT 1
- Cannot locate database HOT 3
- Imports fail for account data and streaming history HOT 4
- feature request: Add Spotify attribution to Spotify Content
- Feature: Export to json HOT 1
- FEATURE REQUEST: Hosting with PikaPods
- Importing history from Spotify ignores blacklisted artists
- Public Token Error
- Login button doesn't work when behind a reverse proxy HOT 1
- The app stopped importing music. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from your_spotify.