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

Actually use path variables as given in default config #1118

Merged
merged 2 commits into from Oct 25, 2019

Conversation

hashworks
Copy link
Contributor

@hashworks hashworks commented Oct 21, 2019

According to the defaults one can set the data and content paths in the config file. However that wasn't used anywhere until now (besides once in purge-uploads.js).

I think the content path isn't used anywhere? Should I remove that one?

@NGPixel
Copy link
Member

NGPixel commented Oct 21, 2019

Both are remnants from v1. They are no longer used.
However being able to set a custom data path is a good idea.

I would change the default config to just dataPath instead of data.path.

Also avoid populating the global WIKI object with paths.
Simply use the WIKI.config.dataPath when needed.

@NGPixel NGPixel merged commit 8000ebe into requarks:master Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants