summaryrefslogtreecommitdiff
path: root/public/js/lib/config (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken unicode urlsSheogorath2018-06-261-1/+1
| | | | | | | | | | It wasn't possible to create unicode based URLs in freeurl mode, because the noteid used for the websocket connection is double escaped. When we decode it and let socketio-client reencode it, we get the real shortid/noteid and can find the note in the database and open the connection. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Removing google drive integrationSheogorath2018-05-161-2/+0
| | | | | | | | | | | | | | | It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Update to generate front-end constants on server startupWu Cheng-Han2017-03-201-11/+7
| | | | To avoid extra webpacking on changing configs and follow the 12 factor app
* Use JavaScript Standard Style (part 2)BoHong Li2017-03-091-14/+14
| | | | Fixed all fail on frontend code.
* Add default value for configYukai Huang2017-01-131-6/+6
|
* Move config variable to lib/configYukai Huang2017-01-131-0/+19