Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
How to solve GET http://localhost/assets/js/leaflet-indoor.js net::ERR_ABORTED 404 (Not Found)

I am making a leaflet map, it's all working. Then I decided to run it through localhost in htdocs. But the script is not working and I get this 2 error:

GET http://localhost/assets/js/leaflet-indoor.js net::ERR_ABORTED 404 (Not Found)

GET http://localhost/data/fvrFloor.json net::ERR_ABORTED 404 (Not Found)

Here's how I import the files:

<script src="/assets/js/leaflet-indoor.js"></script>
<script type="text/javascript" src="/data/fvrFloor.json"></script>

And here is my project structure:

My Project Structure

leaflet-indoor.js is located inside js folder while fvrFloor.json is located inside data folder.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I need to add my main project folder in the src attribute just like this:

/nav_system/assets/js/leaflet-indoor.js
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!