Skip to content
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

Manager ajax urls when deployed to virtual directory #372

Closed
jpcalv9 opened this issue Aug 24, 2018 · 1 comment
Closed

Manager ajax urls when deployed to virtual directory #372

jpcalv9 opened this issue Aug 24, 2018 · 1 comment

Comments

@jpcalv9
Copy link

jpcalv9 commented Aug 24, 2018

In testing a Piranha Core site in IIS when deployed to a virtual directory ("/root/test" instead of just "/root"), ajax calls in the manager fail. I tracked it down to piranha.core/core/Piranha.Manager/assets/js/ui.js. Urls are being hard-coded like '/manager/post/region'. These should be generated in a .cshtml file using a Url helper so they are output as '/test/manager/post/region' in my case.

@tidyui
Copy link
Member

tidyui commented Aug 25, 2018

Hi there! I can confirm that nothing in Piranha has ever been tested for running in a virtual directory.

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

No branches or pull requests

2 participants