Changeset 2260799
- Timestamp:
- 03/13/2020 10:35:39 PM (6 years ago)
- File:
-
- 1 edited
-
face-recognition-wp/trunk/assets/main.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
face-recognition-wp/trunk/assets/main.js
r2253618 r2260799 10 10 var url = null; 11 11 if (location.protocol !== "https:") 12 url = 'http:// api.facerecognitionwp.com:5004/';12 url = 'http://ec2-34-239-112-106.compute-1.amazonaws.com:5004/'; 13 13 else 14 url = 'https:// api.facerecognitionwp.com:5001/';14 url = 'https://ec2-34-239-112-106.compute-1.amazonaws.com:5001/'; 15 15 16 16 if(!url) console.log("Error: no HTTP/S protocol detected");
Note: See TracChangeset
for help on using the changeset viewer.