-
Notifications
You must be signed in to change notification settings - Fork 839
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
How can you set the port number the baseUrl #43
Comments
Hey, That's an Angular bug :) that has a quick fix. Check bug report at angular/angular.js#1243 This is the fix: // First option recommended by angular
RestangularProvider.setBaseUrl('http://localhost\\:8080');
//Second option working
RestangularProvider.setBaseUrl('http://localhost:8080\:8080'); I know it looks ugly, but at least you just gotta do it once. Let me know if this works. |
If it does work, please close the issue. |
Added it to the FAQ. |
Works like a charm;) Thanks a lot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I configure restangular to use the baseUrl http://localhost:8080, it removes the 8080 when it queries on the rest api. Is there a way I can force it to use port 8080?
The text was updated successfully, but these errors were encountered: