Comments (4)
I look into the code to see that the base urls are generated dynamically for each user and directory.
yes, it is the reason why it won't work by simply modifying nginx config file.
Currently only way it can be done is by allowing users to add custom root_url_location in settings.py and then manually change urls.py file. It will require lot of changes and can break things arbitrarily.
I've pushed few commits in testing branch, to show how it can be done. You can fiddle with the code, and make pull request against that branch. Make sure to run tests and add few more if you think necessary.
from reminiscence.
Alright thanks I will look into it.
from reminiscence.
In settings file, a new variable ROOT_URL_LOCATION has been added. Once it has been set to some value like '/bookmark', then all url locations will be set relative to it. There is no need to modify urls.py or nginx config files.
from reminiscence.
Ah thanks. I was all over the place this week so you beat me to it lol. I will just close this issue
from reminiscence.
Related Issues (20)
- PWA support HOT 1
- Docker image does not found static content HOT 2
- Firefox-Addon ported to Chromium/Chrome HOT 3
- Special character in folder names returns 404 upon navigation (context: importing)
- Way to save bookmark via Javascript bookmark HOT 9
- Installation failed "Permission denied"
- Issues using MySQL backend HOT 4
- docker.env username variable not read by web container (hardcoded) HOT 1
- Docker setup does not load static assets HOT 2
- Package Pyscopg2 installation is broken on Ubuntu 20.04 HOT 2
- Feature: export annotations HOT 1
- Docker build fails to copy static files HOT 3
- Cant add URL links HOT 2
- cant add any bookmarks HOT 2
- postgres cannot init, operation not permitted
- I'm guessing this repo is abandoned? HOT 1
- Subfolder show amount of links
- Cannot remake subfolder with same name as previously deleted subfolder
- Responsible disclosure policy
- enhancement : public folder - adding support for subfolders 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 reminiscence.