Skip to content

issue with path with version 1.4.4 - redirecting all files to index.html #15

@Bazmcl

Description

@Bazmcl

Have been using your http server for a couple of our angular (5) app... and had been working well

app is running inside a docker container
FROM node:latest EXPOSE 8666 RUN npm install -g angular-http-server ...other stuff WORKDIR /usr/apps/my-app ENTRYPOINT angular-http-server -p 8666

However the latest version (1.4.4) seems to set the working directory to the angular-http-server dir and we get a bunch of warnings like this:
...
Route /usr/local/lib/node_modules/angular-http-server/usr/apps/my-app/main.bundle.js, replacing with index.html

Rolling back to version 1.4.3 (seems to work fine)
RUN npm install -g angular-http-server@1.4.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions