-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Absolute paths #3
Comments
It never writes anything to disk. It keeps the compressed and obfuscated On Aug 23, 2016 9:34 PM, "Jacob Dixon" [email protected] wrote:
|
Yes but when you are dealing with virtuals directories it has to get the path correct. Take a look here: https://cpdemo.compsyscloud.com/cloudpanel You can see the @BundleItAssets.RenderCSS("login") is generating: when it actually should generate:
The path in your request handler will process /CloudPanel/_style/......:
|
It looks like a relative path issue. This is what the path is resolving too. On Aug 23, 2016 9:57 PM, "Jacob Dixon" [email protected] wrote:
|
Yeah. So the @BundleItAssets.RenderCSS (and JS) needs to format the path correctly. |
For now I would just use the source from Github and fix it on your end. Thanks for letting me know. On Tue, Aug 23, 2016 at 11:02 PM, Jacob Dixon [email protected]
Donny V. |
I don't see how this handles applications being in virtual directories (subfolder). From my experience (unless i'm missing something) it will always try to render the path to the root.
So if I have https://www.domain.com/myapp then it generates the css/ to https://www.domain.com/_style when it should be https://www.domain.com/myapp/_style
Am I missing something?
The text was updated successfully, but these errors were encountered: