Comments (10)
Hi, and thanks very much :)
Hopefully that should not be too hard indeed. I'll take a look very soon.
from our-shopping-list.
Works great now, thanks so much!
from our-shopping-list.
@kungfoolfighting The latest release 2.7.0 should now support what you need.
https://github.com/nanawel/our-shopping-list/releases/tag/2.7.0
If you're serving multiple instances on the same host, please read https://github.com/nanawel/our-shopping-list#-notes-when-serving-multiple-instances-on-different-web-roots
from our-shopping-list.
Oh wow, thanks a bunch for the super speedy implementation of this! Greatly appreciated. I will give it a try today.
from our-shopping-list.
I have tested this now and I can't quite get it to work with a reverse proxy.
When simply connecting to the server via the port and the base url like this:
http://myserver:port/osl/ it works flawlessly.
But when using a reverse proxy (nginx) with the following configuration:
location /osl/ {
proxy_set_header Accept-Encoding "";
proxy_pass http://myserver:port;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
}
It loads almost everything but doesn't show any boards.
The console shows:
chunk-vendors.59332c6d.js:1 GET http://myserver/boards/00000000-0000-0000-0000-000000000000 404 (Not Found)
So it is not using the base url for that specific request. Other requests do use the base url (for images and scripts etc.).
Any idea if I am doing something wrong, or is there still an issue with the feature?
Sorry for causing more work with this :(
from our-shopping-list.
Hi,
np, there might be some details missing even if I tried to cover all the possible cases.
You did not mention you set the BASE_URL
in your container. Did you?
This is mandatory. If you're serving the app on a custom web root, you have to set this variable in your environment
section:
services:
app:
image: ...
...
environment:
BASE_URL: '/osl/'
from our-shopping-list.
Oh yeah, sorry, I omitted mentioning that, since I thought the non-proxy version would not work at all with that url if I hadn't set the base url.
It looks like this:
environment:
# Default values below
VUE_APP_I18N_LOCALE: en
VUE_APP_I18N_FALLBACK_LOCALE: en
VUE_APP_I18N_FORCE_LOCALE: 0
VUE_APP_SINGLEBOARD_MODE: 1
VUE_APP_LIST_ALL_BOARDS_ENABLED: 1
BASE_URL: 'osl/'
from our-shopping-list.
Also small correction: since I am in single board mode I should have said "it doesn't list any lists" rather than "it doesn't list any boards".
from our-shopping-list.
Also small correction: since I am in single board mode I should have said "it doesn't list any lists" rather than "it doesn't list any boards".
You're right. There seems to be a bug with singleboard mode. Let me take a look.
from our-shopping-list.
That should be fixed now with 2.7.1. Tell me if it works as expected in your environment.
from our-shopping-list.
Related Issues (17)
- Feature request - anonymous lists HOT 2
- Caldav support HOT 4
- Feature Request: Add user authentication HOT 4
- Allow changing page title HOT 5
- Add helm chart HOT 1
- Remote access question HOT 3
- Allow custom sorting HOT 6
- Can't add item using mobile view HOT 19
- List all boards HOT 8
- Sort lists alphabetically HOT 4
- arm8 docker buid? HOT 11
- Allow Boards to be deleted HOT 3
- Healthcheck broken with custom base url HOT 5
- feat: quantity input detection HOT 5
- Add an API HOT 1
- mongodb issue HOT 3
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 our-shopping-list.