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 issue where CTFd JS could not be used because an entrypoint dependency was missing #80

Merged
merged 1 commit into from
May 1, 2024

Conversation

ColdHeat
Copy link
Member

@ColdHeat ColdHeat commented May 1, 2024

  • Fix issue where CTFd JS could not be used because an entrypoint dependency was missing

Seperately I'm not sure if this should be called index.js. I think maybe main.js makes more sense or even init.js.

I also considered setting the default extends template to be page.html instead of base.html or adding in page.js as the entrypoint script. I decided that setting page.js as the default entrypoint made more sense as less changes were required and all pages get a safer default.

@ColdHeat ColdHeat merged commit 97b626a into main May 1, 2024
1 check passed
@ColdHeat ColdHeat deleted the fix-js-on-non-js-pages branch May 1, 2024 17:40
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.

1 participant