mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 10:59:59 +00:00
Require CORS Origin header to use https:// and match the entire hostname.
Also require the port number to match if specified in the accepted origins list.
This commit is contained in:
@@ -17,7 +17,7 @@ and open the template in the editor.
|
||||
console.log("make dial post...");
|
||||
var ip = $("#ipAddress").val();
|
||||
var port = $("#dialPort").val();
|
||||
var urlStr = "http://"+ip+":"+port+"/apps/"+app;
|
||||
var urlStr = "https://"+ip+":"+port+"/apps/"+app;
|
||||
console.log(urlStr);
|
||||
$("#status").text("posted to "+urlStr);
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user