enkelmedia / TheDashboard

Magic dashboard for Umbraco
MIT License
39 stars 42 forks source link

404 Not found when using custom CMS Prefix #28

Closed realsircodesalot closed 6 years ago

realsircodesalot commented 7 years ago

I encountered an issue when using a custom cms prefix for Umbraco. I fixed it by updating the controller.js files. See below for the changes:

TheDashboard.controller.js, Line 5: From: $http.get('/umbraco/backoffice/api/TheDashboard/GetViewModel') To: $http.get('backoffice/api/TheDashboard/GetViewModel')

TheDevDashboard.controller.js, Line 5: From: $http.get('/umbraco/backoffice/api/TheDevDashboard/GetViewModel') To: $http.get('backoffice/api/TheDevDashboard/GetViewModel')

enkelmedia commented 7 years ago

Cool! Would you like to create a pull request?

realsircodesalot commented 7 years ago

Sure, haven't done that before tbh. I should be able to get to it this week sometime.

enkelmedia commented 6 years ago

Solved in V1.3, thanks for reporting the issue!