Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

basePath not working as expected #1083

@Wiering

Description

@Wiering

I'm trying to run this app on a subdirectory on my domain at mydomain.com/polymertest/

So, according to index.html, I add "basePath": "polymertest", to polymer.json, and after building, the code now contains <base href="/polymertest/">

This works partially, the app loads the top and left sidebar, but the content part says: Oops you hit a 404. Head back to home (and home links to mydomain.com instead of mydomain.com/polymertest/).

Now, if I click View One in the menu, it actually works, but the url changes to mydomain.com/view1 which is wrong (the same with View Two and View Three).

Of course, if I go to mydomain.com/view1, the page is not found. But mydomain.com/polymertest/view1 doesn't work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions