all urls changes to https

This commit is contained in:
Christian Müller
2014-10-04 21:56:05 +02:00
parent a431d571ce
commit 0dfbfc0824
3 changed files with 11 additions and 13 deletions
+9 -9
View File
@@ -27,7 +27,7 @@ To register as a publisher and gain access to NoteHub API, please <a href="mailt
A simple `GET` request to the following URL: A simple `GET` request to the following URL:
http://www.notehub.org/api/note https://www.notehub.org/api/note
with the following parameters: with the following parameters:
@@ -43,8 +43,8 @@ Example:
{ {
note: "markdown source", note: "markdown source",
title: "Lorem Ipsum.", title: "Lorem Ipsum.",
longURL: "http://www.notehub.org/2014/1/3/lorem-ipsum", longURL: "https://www.notehub.org/2014/1/3/lorem-ipsum",
shortURL: "http://www.notehub.org/0vrcp", shortURL: "https://www.notehub.org/0vrcp",
statistics: { statistics: {
published: "2014-1-3", published: "2014-1-3",
edited: "2014-1-12", edited: "2014-1-12",
@@ -65,7 +65,7 @@ The note ID is a string, containing the date of publishing and a few first words
A note must be created by a `POST` request to the following URL: A note must be created by a `POST` request to the following URL:
http://www.notehub.org/api/note https://www.notehub.org/api/note
with the following parameters: with the following parameters:
@@ -96,8 +96,8 @@ Example:
{ {
noteID: "2014/1/3/lorem-ipsum", noteID: "2014/1/3/lorem-ipsum",
longURL: "http://www.notehub.org/2014/1/3/lorem-ipsum", longURL: "https://www.notehub.org/2014/1/3/lorem-ipsum",
shortURL: "http://www.notehub.org/0vrcp", shortURL: "https://www.notehub.org/0vrcp",
status: { status: {
success: true, success: true,
comment: "some server message" comment: "some server message"
@@ -110,7 +110,7 @@ The status object serves the same purpose as in the case of note retrieval.
To update a note, an `PUT` request must be issued to the following URL: To update a note, an `PUT` request must be issued to the following URL:
http://www.notehub.org/api/note https://www.notehub.org/api/note
with the following parameters: with the following parameters:
@@ -135,8 +135,8 @@ The response of the server will contain the fields `longURL`, `shortURL`, `statu
Example: Example:
{ {
longURL: "http://www.notehub.org/2014/1/3/lorem-ipsum", longURL: "https://www.notehub.org/2014/1/3/lorem-ipsum",
shortURL: "http://www.notehub.org/0vrcp", shortURL: "https://www.notehub.org/0vrcp",
status: { status: {
success: true, success: true,
comment: "some server message" comment: "some server message"
+1 -1
View File
@@ -84,7 +84,7 @@ var vars = {
'@link_hover': themes[ui.theme].link.hover '@link_hover': themes[ui.theme].link.hover
}; };
var fontURL = "http://fonts.googleapis.com/" + var fontURL = "https://fonts.googleapis.com/" +
"css?family=PT+Serif:700|Noticia+Text:700%s" + "css?family=PT+Serif:700|Noticia+Text:700%s" +
"&subset=latin,cyrillic", "&subset=latin,cyrillic",
injection = ""; injection = "";
+1 -3
View File
@@ -1,3 +1 @@
max-title-length = 40 max-title-length = 40
prod-domain = http://www.notehub.org
dev-domain = http://localhost:8080