You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2020. It is now read-only.
If you downloaded a dist zip/tar, the application.properties
50
+
will be included inside the zip/tar. If you are building from source,
51
+
copy it from `./src/dist/application.properties.`
52
+
34
53
Edit `application.properties` with your own client ID.
35
54
This client ID is used to look up usernames to user IDs.
36
55
For the actual API requests, the proxy passes on your existing sent
37
56
`Authorization` header as-is.
38
57
39
-
You can also set host and address to have the webserver listen on.
40
-
41
-
Note: If the application.properties is not present in the
42
-
working directory, you will get an error message like this:
43
-
44
-
> `ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'apiResponseController' defined in URL [jar:file:/C:/Users/username/Projects/twitch-api-v3-proxy/build/libs/twitch-api-v3-proxy.jar!/BOOT-INF/classes!/de/zwb3/apiproxy/ApiResponseController.class]: Unexpected exception during bean creation; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'clientId' in value "${clientId}"`
58
+
You can also set a different host and address to have the webserver listen on.
45
59
46
60
## Run
47
61
48
-
Ensure you have a Java 8 JRE installed, and run:
49
-
50
-
sudo mkdir /opt/twitch-api-v3-proxy
51
-
sudo tar xvf ./build/distributions/twitch-api-v3-proxy-boot.tar -C /opt/twitch-api-v3-proxy --strip-components=1
0 commit comments