Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Add option: prefixUri #347

Closed
retyui opened this issue Feb 6, 2018 · 1 comment
Closed

Add option: prefixUri #347

retyui opened this issue Feb 6, 2018 · 1 comment

Comments

@retyui
Copy link

retyui commented Feb 6, 2018

my repo app has next struct:

├── css
│   └── styles.css
├── js
│   └── questions.js
├── img
│   └── 33.png
├── index.html

But on the server it is stored in a separate folder
http://exmaple.com/user/project/
And I have to add this folder prefix /user/project/ each time : (

@jeffposnick
Copy link
Contributor

You should be able to use the stripPrefixMulti option:

stripPrefixMulti: {
  '': '/user/project/'
}

('' means "strip the empty string" and replace it with the prefix you want.)

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

No branches or pull requests

2 participants