Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.

Commit

Permalink
Change port from 8080 to 8999
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Vittegleo committed Apr 8, 2017
1 parent e2a4bda commit 17b93b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: osx

osx:
GOOS=darwin GOARCH=amd64 go build -o ./build/osx/x86-64/dosxvpn ./cmd/dosxvpn
cd platypus && ./build.sh ../build/osx/x86-64/dosxvpn
cd platypus && ./build.sh

clean:
rm -rf build
Expand Down
2 changes: 1 addition & 1 deletion platypus/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

platypus -y --quit-after-execution --app-icon 'appicon.icns' --name 'dosxvpn' --interface-type 'None' --interpreter '/bin/bash' --bundled-file '../dosxvpn' --bundled-file '../static' 'run.sh' $@
platypus -y --quit-after-execution --app-icon 'appicon.icns' --name 'dosxvpn' --interface-type 'None' --interpreter '/bin/bash' --bundled-file '../build/osx/x86-64/dosxvpn' --bundled-file '../static' 'run.sh' ../build/osx/x86-64/dosxvpn
2 changes: 1 addition & 1 deletion static/oauth_callback.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ function getParameterByName(name, url) {
$(document).ready(function() {
var access_token = getParameterByName('access_token');
var state = getParameterByName('state');
window.location.replace("http://localhost:8080/grant?access_token=" + access_token + "&state=" + state);
window.location.replace("http://localhost:8999/grant?access_token=" + access_token + "&state=" + state);
});
3 changes: 1 addition & 2 deletions static/region.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ $(document).ready(function() {

$('.go-btn').click(function() {
var selected = $('#region-dropdown option:selected');
console.log("http://localhost:8080/install/" + state + "?region=" + selected.val());
window.location.replace("http://localhost:8080/install/" + state + "?region=" + selected.val());
window.location.replace("http://localhost:8999/install/" + state + "?region=" + selected.val());
});

});

0 comments on commit 17b93b1

Please sign in to comment.