Skip to content

Commit

Permalink
add .env.example
Browse files Browse the repository at this point in the history
Signed-off-by: mudler <[email protected]>
  • Loading branch information
mudler committed Nov 14, 2024
1 parent 3d43d0b commit 4fd7ccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .masa/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Set of websites to always blacklist
# WEBSCRAPER_BLACKLIST=google.com,foo.bar
2 changes: 0 additions & 2 deletions internal/api/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ func Start(ctx context.Context, listenAddress string, config types.JobConfigurat
- /job - POST - to send a job request
A job request has a type (string) and a map[string]interface{} as parameter.
- /job/{job_id} - GET - to get the status of a job
- /job/{job_id}/result - GET - to get the result of a job (encrypted)
- /job/{job_id}/status - GET - to get the status of a job (not encrypted)
- /decrypt - POST - to decrypt a message
Decripts a message. Takes two parameters: the encrypted result and the encrypted request (both strings)
Expand Down

0 comments on commit 4fd7ccf

Please sign in to comment.