From ce0c8538a1636d1fc3f6218312cc5abc0e03b033 Mon Sep 17 00:00:00 2001 From: Benoit Schweblin Date: Tue, 9 Apr 2013 08:59:39 +0100 Subject: [PATCH] Remove localhost link --- cache.manifest | 2 +- js/custo.github.js | 1 + js/dropbox.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cache.manifest b/cache.manifest index 25bf23aa..b5af955b 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1 +1 @@ -CACHE MANIFEST # v33 CACHE: index.html css/bootstrap.css css/jgrowl.css css/main.css js/async-runner.js js/bootstrap.js js/config.js js/custo.github.js js/dropbox.js js/gdrive.js js/jgrowl.js js/jquery.js js/jquery-ui.js js/layout.js js/main.js js/Markdown.Converter.js js/Markdown.Editor.js js/Markdown.Sanitizer.js js/require.js js/synchronizer.js img/ajax-loader.gif img/dropbox.png img/gdrive.png img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/stackedit-16.png img/stackedit-32.ico NETWORK: * +CACHE MANIFEST # v34 CACHE: index.html css/bootstrap.css css/jgrowl.css css/main.css js/async-runner.js js/bootstrap.js js/config.js js/custo.github.js js/dropbox.js js/gdrive.js js/jgrowl.js js/jquery.js js/jquery-ui.js js/layout.js js/main.js js/Markdown.Converter.js js/Markdown.Editor.js js/Markdown.Sanitizer.js js/require.js js/synchronizer.js img/ajax-loader.gif img/dropbox.png img/gdrive.png img/glyphicons-halflings.png img/glyphicons-halflings-white.png img/stackedit-16.png img/stackedit-32.ico NETWORK: * diff --git a/js/custo.github.js b/js/custo.github.js index fba1800f..d185e503 100644 --- a/js/custo.github.js +++ b/js/custo.github.js @@ -1,2 +1,3 @@ +var BASE_URL = "http://benweet.github.io/stackedit/"; var GOOGLE_KEY = "AIzaSyB1Bc1wI_YUWkkOR-5Gri5BFuypgZl0Sxc"; var GOOGLE_CLIENT_ID = '241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com'; diff --git a/js/dropbox.js b/js/dropbox.js index bb074bce..7fb671ac 100644 --- a/js/dropbox.js +++ b/js/dropbox.js @@ -38,7 +38,7 @@ define(["jquery", "core", "async-runner"], function($, core, asyncTaskRunner) { secret: DROPBOX_APP_SECRET }); client.authDriver(new Dropbox.Drivers.Popup({ - receiverUrl: "http://localhost/dropbox-oauth-receiver.html", + receiverUrl: BASE_URL + "dropbox-oauth-receiver.html", rememberUser: true })); callback();