after using pushStateSeparator" " withe empty. showing a blank page.

hey. I’m using framework7 for a long time.
and I love it too much.
now I’m creating a website using it. and I’m facing a problem with Router.
actually when I’m using this.

view:{
    pushState: true,
    pushStateSeparator: '',
    pushStateRoot: 'http://localhost:8080',
  }

and going to this URL or like same
http://localhost:8080/about/
it’s showing me a blank page.
and on the real server, it’s showing me page not found.

I read a lot of forum post but I can’t fix it.
please help me.

Do you need to use https instead?

1 Like

thank you so much for the reply.
yes, I need it.
this is the site that I created using framework7
https://chatwa.id/

You need to configure your server to correctly handle such case, server needs to respond with index.html when any other route requested. Consult your server implementation docs on how to do it.

For local server, if it is a webpack you need to enable historyApiFallback https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback

thank you so much for your reply.