diff options
author | fishsoupisgood <github@madingley.org> | 2020-06-20 10:42:08 +0100 |
---|---|---|
committer | fishsoupisgood <github@madingley.org> | 2020-06-20 10:42:08 +0100 |
commit | 93dbd25f15d4fb7e8b43411471c1e50f7ea77f6b (patch) | |
tree | 800631ce715df629d5804106ee9b255c4f15f390 | |
parent | 766d64916d507cac77e9b6b69cc14c59c9d75ecc (diff) | |
download | pingid-93dbd25f15d4fb7e8b43411471c1e50f7ea77f6b.tar.gz pingid-93dbd25f15d4fb7e8b43411471c1e50f7ea77f6b.tar.bz2 pingid-93dbd25f15d4fb7e8b43411471c1e50f7ea77f6b.zip |
allow use in XSS
-rw-r--r-- | pingid.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -151,6 +151,7 @@ main (int argc, char *argv[]) squirt ("/sys/class/gpio/gpio4/value", "0"); + printf ("Access-Control-Allow-Origin: *\n"); printf ("Content-Type: text/plain\n\n%s\n", ret); return 0; |