We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6898c commit 4d6cce5Copy full SHA for 4d6cce5
public/app/scorekeep.js
@@ -1,2 +1,10 @@
1
var module = angular.module("scorekeep", ["ngRoute","ngResource"]);
2
-module.value('api', 'http://XXXXX.elasticbeanstalk.com/api/');
+/* API running at /api on the same domain name and port (no CORS) */
3
+ module.value('api', '/api/');
4
+
5
+/* API running on Elastic Beanstalk, frontend running locally or
6
+ on a different domain (CORS) */
7
+// module.value('api', 'http://XXXXX.elasticbeanstalk.com/api/');
8
9
+/* API running locally on port 5000, frontend on port 8080 (CORS) */
10
+// module.value('api', 'http://localhost:5000/api/');
0 commit comments