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

not-detecting new ejs files #8

Open
ItzSkyy opened this issue Jul 16, 2023 · 1 comment
Open

not-detecting new ejs files #8

ItzSkyy opened this issue Jul 16, 2023 · 1 comment

Comments

@ItzSkyy
Copy link

ItzSkyy commented Jul 16, 2023

I made test-clones of manage.ejs and renamed them to avoid any conflicts foo.ejs/bar.ejs, and make some test linking to them in the manage.js but when I stop the bot and then start the bot, the foo and bar .ejs are not detected and redirects to the 404?

What am I missing? all 3 (manage/foo/bar) are all in the same folder and I have them linked accordingly:

        <a href="/dashboard/server/<%= guild.id %>/foo" class="button is-medium is-rounded is-danger">
          <i class="fa-solid fa-medal" style="padding-right: 5px;"></i> Foo ejs
        </a>
      </p>
<p class="control">
        <a href="/dashboard/server/<%= guild.id %>/bar" class="button is-medium is-rounded is-danger">
          <i class="fa-solid fa-medal" style="padding-right: 5px;"></i> Bar ejs
        </a>
      </p>
@cfmaniac
Copy link

Did you add the paths to your routes/dashboard.js ?

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

No branches or pull requests

2 participants