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

Fix #269, adminSettings.json dependent on compilation order #280

Open
wants to merge 1 commit into
base: preview
Choose a base branch
from

Conversation

jacksontromero
Copy link
Collaborator

Solves #269 by having get_admin_settings create the json file if it doesn't already exist

Also removes potential problem where the relative path wasn't dependent on dirname and so adminSettings.json could be in different places depending on how the server was invoked.

…ing get_admin_settings will cause the file to get generated in case those files are run before settings.js
@jacksontromero jacksontromero changed the title make path non relative to source process, ensure other functions call… Fix #269, adminSettings.json dependent on compilation order Dec 4, 2024
@jacksontromero jacksontromero linked an issue Dec 4, 2024 that may be closed by this pull request
@csuraparaju
Copy link
Collaborator

Tested on my end by deleting adminSettings.json and saw that the server successfully recreated upon starting. LGTM, but let me know if there's any other tests I should do.

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.

Server compilation is dependent on file compilation order
2 participants