Change host in fixture script

This commit is contained in:
Gabe Kangas 2022-10-02 21:40:15 -07:00 committed by GitHub
parent d69e3656e2
commit f1a2a918c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,34 +148,19 @@ curl 'http://localhost:8080/api/admin/config/offlinemessage' \
# Chat welcome message # Chat welcome message
curl 'https://webv2.owncast.tv/api/admin/config/welcomemessage' \ curl 'http://localhost:8080/api/admin/config/welcomemessage' \
-H 'authority: webv2.owncast.tv' \
-H 'accept: */*' \ -H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9' \ -H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: Basic YWRtaW46aG05dTl4a2c=' \ -H 'authorization: Basic YWRtaW46aG05dTl4a2c=' \
-H 'cache-control: no-cache' \ -H 'cache-control: no-cache' \
-H 'content-type: text/plain;charset=UTF-8' \ -H 'content-type: text/plain;charset=UTF-8' \
-H 'origin: https://webv2.owncast.tv' \ -H 'Origin: http://localhost:8080' \
-H 'pragma: no-cache' \ -H 'pragma: no-cache' \
-H 'referer: https://webv2.owncast.tv/admin/config-chat/' \ -H 'referer: http://localhost:8080/admin/config-chat/' \
-H 'sec-fetch-dest: empty' \ -H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \ -H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \ -H 'sec-fetch-site: same-origin' \
-H 'sec-gpc: 1' \ -H 'sec-gpc: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \ -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--data-raw '{"value":"This is an example chat welcome message."}' \ --data-raw '{"value":"This is an example chat welcome message."}' \
--compressed ; --compressed
curl 'https://webv2.owncast.tv/api/admin/status' \
-H 'authority: webv2.owncast.tv' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: Basic YWRtaW46aG05dTl4a2c=' \
-H 'cache-control: no-cache' \
-H 'pragma: no-cache' \
-H 'referer: https://webv2.owncast.tv/admin/config-chat/' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'sec-gpc: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--compressed