bind to config option (default localhost)
[oweals/gnunet.git] / src / rest / rest.conf
index 0a919df20c0cae5a59fce4c44b47de1e2945c5a1..bef8cf473c2dec432830ffabe3dea8c1a6e23485 100644 (file)
@@ -1,7 +1,9 @@
 [rest]
 UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock
 BINARY=gnunet-rest-server
+BIND_TO=127.0.0.1
+BIND_TO6=::1
 REST_PORT=7776
 REST_ALLOW_HEADERS=Authorization,Accept,Content-Type
-REST_ALLOW_ORIGIN=http://localhost:8000
-REST_ALLOW_CREDENTIALS=true
\ No newline at end of file
+REST_ALLOW_ORIGIN=*
+REST_ALLOW_CREDENTIALS=true