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

PUBLIC_FOLDER_PATH to set output directory #92

Open
kattjevfel opened this issue Aug 18, 2020 · 0 comments
Open

PUBLIC_FOLDER_PATH to set output directory #92

kattjevfel opened this issue Aug 18, 2020 · 0 comments
Projects

Comments

@kattjevfel
Copy link
Collaborator

kattjevfel commented Aug 18, 2020

I originally started writing this as a "doesn't work" ticket, but figured I had just misunderstood its purpose, so here is a feature request instead.

Currently, setting PUBLIC_FOLDER_PATH only changes where the internal webserver looks for static files.
What I'd like to see is it also being used for picking where the files get generated, instead of being hardcoded:

outDir: "./dist/js",

outDir: "./dist/css",

Reasoning behind wanting to put it elsewhere is so it can be accessed by another linux container via a bind mount.
Another reason would be to load the public folder with 2TB of waifus and not want that on my root drive.

EDIT: Found out that it also doesn't like inputting full paths either:

Aug 18 23:24:58 lewd node[2346]: Serving files from: /var/www/lewd2/packages/backend/dist/mnt/lewd/public/
@inabahare inabahare added this to In progress in Lewd Aug 19, 2020
@inabahare inabahare moved this from In progress to To do in Lewd Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Lewd
  
To do
Development

No branches or pull requests

1 participant