mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-12 10:32:00 +00:00
Changed postbackUrl to postbackBaseUrl in config.
This commit is contained in:
parent
fec30532a2
commit
553a1064a5
4 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ The configuration file is in `.json` format. There is an example at `bin/config.
|
|||
"apiBaseUrl" (string): base url for the snapshot api,
|
||||
"username" (string, optional): username for http basic auth,
|
||||
"password" (string, optional): password for http basic auth,
|
||||
"postbackUrl" (string): the postback url,
|
||||
"postbackBaseUrl" (string): the postback url,
|
||||
"serviceName" (string): current name of writeLaTeX in case it ever changes
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"apiBaseUrl": "https://radiant-wind-3058.herokuapp.com/api/v0",
|
||||
"username": "staging",
|
||||
"password": "6kUfbv0R",
|
||||
"postbackUrl": "http://git.overleaf.com",
|
||||
"postbackBaseUrl": "http://git.overleaf.com",
|
||||
"serviceName": "Overleaf"
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ public class Config implements JSONSource {
|
|||
}
|
||||
this.apiBaseURL = apiBaseURL;
|
||||
serviceName = getElement(configObject, "serviceName").getAsString();
|
||||
postbackURL = getElement(configObject, "postbackUrl").getAsString();
|
||||
postbackURL = getElement(configObject, "postbackBaseUrl").getAsString();
|
||||
if (!postbackURL.endsWith("/")) {
|
||||
postbackURL += "/";
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ public class WLGitBridgeServer {
|
|||
System.out.println(Util.getServiceName() + "-Git Bridge server started");
|
||||
System.out.println("Listening on port: " + port);
|
||||
System.out.println("Bridged to: " + writeLatexHostname);
|
||||
System.out.println("Postback URL: " + Util.getPostbackURL());
|
||||
System.out.println("Postback base URL: " + Util.getPostbackURL());
|
||||
System.out.println("Root git directory path: " + rootGitDirectoryPath);
|
||||
} catch (BindException e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue