johnpapa / johnpapa/lite-server

404 Get /components/login/login.html

Open
#119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
262
PR merge metrics
No merged PRs in 30d

Description

### got 404
I use lite-server for developping my angular app
the treefolder is simple:
`[ root
-public
css
js
index.html
-src
-components
-login
login.html
....]`
![capture du 2017-02-28 16-23-36](https://cloud.githubusercontent.com/assets/6931866/23411360/623899e0-fdd2-11e6-810c-5d724edfacbf.png)

my server config is :
`module.exports = {
port:8080,
files:["./public/**/*.{html,htm,css,js}","./src/**/*.{html,htm,css,js}"],
server: { "baseDir": "./public" }
};
`

### Question
I catch a 404.
The question : How to configure lite-server t gate files in src ?

### Environment
- "lite-server": "^2.2.2",
- `nodejs` :4.2.6
- `npm` 3.5.2:
- OS type/version: ubuntu 16.10

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.