Giter VIP home page Giter VIP logo

Comments (7)

amedov-denis avatar amedov-denis commented on August 26, 2024 1

@MikeRogers0 Great, thank you very much for your effort :)

from livepage.

MikeRogers0 avatar MikeRogers0 commented on August 26, 2024

Oh no, that's not good. I'll investigate this @amedov-denis ASAP & keep you updated!

from livepage.

amedov-denis avatar amedov-denis commented on August 26, 2024

@MikeRogers0 thanks for investigating. Do you think you can fix it in the near future?

from livepage.

MikeRogers0 avatar MikeRogers0 commented on August 26, 2024

@amedov-denis No problem, sorry it's taking me a while to solve this one!
I'm aiming to have this fixed before before Xmas.

from livepage.

MikeRogers0 avatar MikeRogers0 commented on August 26, 2024

@amedov-denis I've opened a PR adding files matching the issue you're describing ( https://github.com/MikeRogers0/LivePage/pull/113/files ).

When I run php -S 127.0.0.1:8000 -t demo/ to open those HTML like a web server, then visit http://127.0.0.1:8000/subdir/ and run LivePage I don't see any 404 errors.

Could you confirm that those files match the issue you're describing / possibly send me a URL to where the error is noticeably occurring?

from livepage.

amedov-denis avatar amedov-denis commented on August 26, 2024

Yes of course, because in this special case "relative" and "root-relative" is the same.
But if you wrap index.css and css in a src folder, then it's not working any more.
Try this file structure:

root
└── index.html
└── src
....└── css
.... | └── imported.css
....└── index.css

This should throw a 404 because it tries to import /css/imported.css instead of /src/css/imported.css

from livepage.

MikeRogers0 avatar MikeRogers0 commented on August 26, 2024

@amedov-denis Good news!!! I recreated the issue & got a fix written! I'll deploy once the automated test pass. It should reach your browser within 12 hours.

I really appreciate your help & patience with this one 👍 If we cross paths make sure to make me buy you a beverage :)

from livepage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.