From 471c55f2e0549f70166d49d39e7a20fd5dbf0912 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 4 Apr 2017 16:32:56 +0200 Subject: Rename GOOGLE_OAUTH_CLIENT_ID to OAUTH_CLIENT_ID --- gulpfile.js | 2 +- sample_config.json | 2 +- src/app.html | 2 +- src/index.html | 2 +- src/profile.html | 2 +- src/projects.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 579e795f..f674055e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -180,7 +180,7 @@ gulp.task('html', function () { const configFile = getConfigFile(); return gulp.src(htmlFilePaths) - .pipe(replace('GOOGLE_OAUTH_CLIENT_ID', configFile.GOOGLE_OAUTH_CLIENT_ID)) + .pipe(replace('OAUTH_CLIENT_ID', configFile.OAUTH_CLIENT_ID)) .pipe(replace('SERVER_BASE_URL', configFile.SERVER_BASE_URL)) .pipe(processHTML()) .pipe(gulp.dest(htmlDestDir)) diff --git a/sample_config.json b/sample_config.json index 58ff0e72..d5fe10f1 100644 --- a/sample_config.json +++ b/sample_config.json @@ -1,4 +1,4 @@ { - "GOOGLE_OAUTH_CLIENT_ID": "the-google-oauth-client-id", + "OAUTH_CLIENT_ID": "the-google-oauth-client-id", "SERVER_BASE_URL": "http://localhost:8081" } diff --git a/src/app.html b/src/app.html index 5b652b6c..5b669910 100644 --- a/src/app.html +++ b/src/app.html @@ -2,7 +2,7 @@ - + OpenDC diff --git a/src/index.html b/src/index.html index 7fba485d..c3df0c02 100644 --- a/src/index.html +++ b/src/index.html @@ -19,7 +19,7 @@ - + diff --git a/src/profile.html b/src/profile.html index 9691f827..1cdb560b 100644 --- a/src/profile.html +++ b/src/profile.html @@ -2,7 +2,7 @@ - + OpenDC - Profile diff --git a/src/projects.html b/src/projects.html index 5ac8d64c..6c5effb7 100644 --- a/src/projects.html +++ b/src/projects.html @@ -2,7 +2,7 @@ - + OpenDC - Projects -- cgit v1.2.3