NiclO1337 / pp4-banana-palace

A website for a restaurant specializing in delicious recipes using bananas. Fourth portfolio project with Code Institute.
0 stars 1 forks source link

[BUG] JS file not executing #49

Closed NiclO1337 closed 3 months ago

NiclO1337 commented 3 months ago

Describe the bug JavaScript files not loadning on deployed version

To Reproduce Steps to reproduce the behavior:

  1. Go to deployed website
  2. Click on 'Login/Register'
  3. Look at account page and firework page
  4. See errors in console, javascript effects are note shown

Console errors GET https://banana-palace-9ad263ab8cf3.herokuapp.com/static/js/fireworks.js/ net::ERR_ABORTED 404 (Not Found) surprice/:1 Refused to execute script from 'https://banana-palace-9ad263ab8cf3.herokuapp.com/static/js/fireworks.js/' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Expected behavior JavaScript files executed as planned

NiclO1337 commented 3 months ago

Was a typo made in the template which got copied around. (extra / at the end in source)