discord-dashboard icon indicating copy to clipboard operation
discord-dashboard copied to clipboard

not-detecting new ejs files

Open ItzSkyy opened this issue 1 year ago • 1 comments

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>

ItzSkyy avatar Jul 16 '23 21:07 ItzSkyy

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

cfmaniac avatar Mar 25 '24 17:03 cfmaniac