projects
/
webcart1000.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54432f9
)
Protocol-relative URL breaks origin checks, use location.protocol.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 22 May 2014 10:55:12 +0000
(12:55 +0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 22 May 2014 10:55:12 +0000
(12:55 +0200)
webcart1000.js
patch
|
blob
|
history
diff --git
a/webcart1000.js
b/webcart1000.js
index 10b96da5b8e3b4d0bcebf77dea32c9ab32e444e1..101a9fdda185366bd6ada74a520030e050b01311 100644
(file)
--- a/
webcart1000.js
+++ b/
webcart1000.js
@@
-10,7
+10,7
@@
(function () {
"use strict";
- var ORIGIN = "//yukkurigames.com";
+ var ORIGIN =
location.protocol +
"//yukkurigames.com";
var TARGET = ORIGIN + "/webcart1000/o_o.html";
var wc1kFrame;
var wc1kWindow;