Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

server.indexPath config and it's behavior. #1027

Closed
nob opened this issue Oct 15, 2015 · 1 comment
Closed

server.indexPath config and it's behavior. #1027

nob opened this issue Oct 15, 2015 · 1 comment
Labels

Comments

@nob
Copy link

nob commented Oct 15, 2015

I read configuration file doc and tweaked server.indexPath value since I need to rename 'index.html' to 'login.html' in public/ directory.
Then I got this error on my browser
I also tried to change server.noPushState and server.Slashes, but had no luck. How I can configure the path to serve when base URL is requested?

The server section in my brunch-config.coffee is currently like this.

  server:
    indexPath: 'login.html'
    noPushState: true
    stripSlashes: false

my current environments are:

  • Brunch v1.8.5
  • node.js v0.12.7
  • OS X v10.10.3

Thanks for a great HTML5 build tool.

@goshacmd
Copy link
Contributor

goshacmd commented Feb 4, 2016

The underlying issue seems to be pushserve not handling the case when noPushState is true and indexPath is a custom value. I've submitted paulmillr/pushserve#11 to account for this use case

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants