mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-10-11 08:18:25 -04:00
Added webclient config.js for storing recaptcha public key.
This commit is contained in:
parent
130458385e
commit
c80f739461
4 changed files with 31 additions and 5 deletions
|
@ -1,12 +1,24 @@
|
|||
Basic Usage
|
||||
-----------
|
||||
|
||||
The Synapse web client needs to be hosted by a basic HTTP server.
|
||||
|
||||
You can use the Python simple HTTP server::
|
||||
The web client should automatically run when running the home server. Alternatively, you can run
|
||||
it stand-alone:
|
||||
|
||||
$ python -m SimpleHTTPServer
|
||||
|
||||
Then, open this URL in a WEB browser::
|
||||
|
||||
http://127.0.0.1:8000/
|
||||
|
||||
|
||||
ReCaptcha Keys
|
||||
--------------
|
||||
The web client will look for the global variable webClientConfig for config options. You should
|
||||
put your ReCaptcha public key there like so:
|
||||
|
||||
webClientConfig = {
|
||||
recaptcha_public_key: "YOUR_PUBLIC_KEY"
|
||||
}
|
||||
|
||||
This should be put in webclient/config.js which is already .gitignored, rather than in the web
|
||||
client source files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue