How to add files to static hosting on a web replit?


I’m using a web replit, (HTML, CSS, Javascript) and I want to add additional CSS and JS files.

Unfortunately they 404 when I refer to them in my HTML.

  <script type="text/javascript" src="semantic.min.js">

I’ve tried placing semantic.min.js into the root of the replit, a “static” folder, a “public” folder and it doesn’t work. Is there anything I need to do?

1 Like

Try doing

<script type=“text/javascript” src=“/semantic.min.js”>