-
Notifications
You must be signed in to change notification settings - Fork 733
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
Need a bit of help accessing this outside the network, CORS issue #293
Comments
+1 here... I tried to remove the check origin at the api.py. But the front keeps the CORS error. The API is working. `# Allow requests only from the same origin app.add_middleware(CORSMiddleware,allow_origins=["*"], # This will be restricted by the custom middlewareallow_credentials=True,allow_methods=["*"],allow_headers=["*"],)Custom middleware to check if the request is from the same origin@app.middleware("http")
|
Hey everyone! Sorry for the late reply 🙏 |
I only say this now :) I am using this docker compose file
Using Nginx proxy manager on the same docker network: proxy. Basically how I do it for all docker apps I want to access over the network. Verba is accessible via my localip:8111 or via the FQDN i set in NPM. Both work. However when I access it over the internet and - for instance - change the theme to dark, it resets to light whenever I do a page refresh. I get a 'fresh´ instance every time. Files I upload via local ip are not visible when accessing over the internet. |
I think it's related to this issue #353 |
First of all: I really enjoyed playing around with this. I got it all working and it's a lot of fun!
I wanted to show some people in my office this application. Usually I just use nginx proxy manager to open it up *with access rules) but this time it didn't work. Seems to be CORS according to my browser console. Not sure how to fix this though.
Running Docker, Weaviate and Ollama versions on Linux.
The text was updated successfully, but these errors were encountered: