Git Product home page Git Product logo

Comments (5)

blake-sc avatar blake-sc commented on May 20, 2024

I am unable to reproduce this issue. URLs with dots in them are working fine for me. It seems to be thought that this is an issue with polymer serve, maybe the version of polymer serve makes a difference? Mine is 1.3.1. Or can the issue be narrowed down? Are the routes not working at all for you or only in particular contexts?

Btw I tested by renaming "dn" to "d.n" and "dn1" to "dn1.1" everywhere, and checking if the site still worked when using those modified uids, and it did work.

from suttacentral.

 avatar commented on May 20, 2024

Did you try the MWE I posted on stackoverflow or did you try the next-sc full version? I've got 1.3.1 also.
Routes with any dots in are not working at all. Also tried dn1.1, etc. as you did.
And yes, as per the bug-report on Polyserve I posted above, it is indeed something to do with polyserve.

from suttacentral.

blake-sc avatar blake-sc commented on May 20, 2024

Well it's important to narrow the issue down. I'm having trouble working out if there is a problem with app-route at all, I don't think so, I pored over the source code and couldn't see any reference to '.', so the issue would seem to be strictly to do with the backend - polymer-cli in this case. I also tried modifying the tests to add urls with periods, these tests ran fine when executed in the browser, but crapped out when executed from polymer test, which strengthens the hypothesis that app-route is working fine.

from suttacentral.

blake-sc avatar blake-sc commented on May 20, 2024

Okay how about this as a resolution:

Use python server/app.py instead. I've updated it and it seems to work perfectly both normally and when refreshing/directly browsing to a page, I'm not seeing any problems with urls with periods in them.

from suttacentral.

 avatar commented on May 20, 2024

With python it works fine. Thanks for that.
I had also come to the conclusion that it is not app-route itself because the problem occurs already before app-route or iron-location is activated.

from suttacentral.

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.