johnpapa / johnpapa/gulp-patterns

Routing issue after the build process

Open
#96 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
499
Forks
136
PR merge metrics
No merged PRs in 30d

Description

I have the problem with going to the specific page of the application after the build was created and app was moved to the web server.

Example: App was moved to the server www.testserver.com to the folder angular. I've changed the base href attribute in the index.html file after the build:

We are trying to access it using http://www.testserver.com/angular/customers for example but getting 404 and route is not being hit at all even though all js files were loaded.

Is that a known issue ?

BTW If I try access the page using the pound sign reference, the app at least tries to load the correct route.

http://www.testserver.com/angular/#/customers

Thanks

Mikhail

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.