Ignore push.json and add push.json.example + README note
This commit is contained in:
parent
b3570f9c0f
commit
85cc58be44
3 changed files with 18 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@ out-dir/
|
|||
thumbs/
|
||||
*.log
|
||||
cache/
|
||||
push.json
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -507,3 +507,16 @@ Notes:
|
|||
- If the Gemini API returns an error (HTTP 429 or 503) the response and details are written to the job log (`<inputdir>/generate_data.log`) and debug response file when available.
|
||||
|
||||
If you prefer a background/async workflow instead of the synchronous popup, the endpoint and UI can be adjusted to start the job in the background and poll for results instead.
|
||||
|
||||
|
||||
Push VAPID keys (push.json)
|
||||
|
||||
- push.json contains the VAPID keys used by the server for web-push.
|
||||
- Do NOT commit push.json to git. Use push.json.example as a template.
|
||||
|
||||
To install on the server (example):
|
||||
|
||||
sudo cp push.json.example push.json
|
||||
sudo chown root:www-data push.json
|
||||
sudo chmod 640 push.json
|
||||
|
||||
|
|
|
|||
4
push.json.example
Normal file
4
push.json.example
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"vapidPublicKey": "REPLACE_WITH_PUBLIC_KEY",
|
||||
"vapidPrivateKey": "REPLACE_WITH_PRIVATE_KEY"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue