mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -04:00
Support export to and import from Google Drive
This commit is contained in:
parent
c183002c14
commit
845ef9bad6
8 changed files with 528 additions and 5 deletions
|
@ -2,6 +2,9 @@
|
|||
var domain = 'change this'; // domain name
|
||||
var urlpath = ''; // sub url path, like: www.example.com/<urlpath>
|
||||
|
||||
var GOOGLE_API_KEY = 'change this';
|
||||
var GOOGLE_CLIENT_ID = 'change this';
|
||||
|
||||
var port = window.location.port;
|
||||
var serverurl = window.location.protocol + '//' + domain + (port ? ':' + port : '') + (urlpath ? '/' + urlpath : '');
|
||||
var noteid = urlpath ? window.location.pathname.slice(urlpath.length + 1, window.location.pathname.length).split('/')[1] : window.location.pathname.split('/')[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue