This website works better with JavaScript.
Home
Explore
Help
Sign In
ArchiveTeam
/
http2irc
Watch
12
Star
0
Fork
0
Code
Issues
2
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add Grafana module
master
JustAnotherArchivist
4 years ago
parent
4d0a4c8c8e
commit
ced83b2fd4
1 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
contrib/modules/grafana.py
+ 6
- 0
contrib/modules/grafana.py
View File
@@ -0,0 +1,6 @@
import json
async def process(request):
obj = json.loads(await request.text())
return f'{obj["title"]} - {obj["message"]}'
Write
Preview
Loading…
Cancel
Save