Skip to content

Commit 2c7e294

Browse files
committed
fix encoding
1 parent 8e40e64 commit 2c7e294

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ <h2>Frame URL:</h2>
4646
this.url = ko.pureComputed(function() {
4747
return 'https://img.mainframe2.com/login?account_type=' +
4848
encodeURIComponent(this.account()) +
49-
'&return_url=https://' + this.site() + '.bcx.buttonwood.net/frame' +
50-
encodeURIComponent('?a=' + encodeURIComponent(btoa(this.hash() + ' ' + this.path())));
49+
'&return_url=' +
50+
encodeURIComponent('https://' + this.site() + '.bcx.buttonwood.net/frame?a=' +
51+
encodeURIComponent(btoa(this.hash() + ' ' + this.path()))
52+
);
5153
}, this);
5254
};
5355
ko.applyBindings(new vm());

0 commit comments

Comments
 (0)