Skip to content

Commit

Permalink
Merge pull request #69 from gulliverhan/getbaseurl
Browse files Browse the repository at this point in the history
gets baseUrl from gasUrl
  • Loading branch information
leonhartX authored Apr 3, 2018
2 parents 523df8f + 534e930 commit 77a3734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.3.3",
"version": "3.3.4",
"manifest_version": 2,
"default_locale": "en",
"name": "__MSG_appName__",
Expand Down
2 changes: 1 addition & 1 deletion src/gas-hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ function handleGistCreated() {
}

function getBaseUrl() {
return context.gasHeaders["X-GWT-Module-Base"];
return context.gasUrl.substring(0, context.gasUrl.indexOf('/gwt/')) + '/gwt/';
}

function changeModalState(type, toShow) {
Expand Down

0 comments on commit 77a3734

Please sign in to comment.