mirror of
https://github.com/rexlManu/pterodactyl-upload-action.git
synced 2025-02-03 13:36:41 -05:00
fix: max content length
This commit is contained in:
parent
b44761a220
commit
14b59772eb
3 changed files with 5 additions and 1 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -10619,6 +10619,8 @@ async function getSettings() {
|
|||
function configureAxios(panelHost, apiKey, proxy) {
|
||||
axios.defaults.baseURL = panelHost;
|
||||
axios.defaults.headers.common["Authorization"] = `Bearer ${apiKey}`;
|
||||
axios.defaults.maxContentLength = Infinity;
|
||||
axios.defaults.maxBodyLength = Infinity;
|
||||
|
||||
if (proxy) {
|
||||
const [auth, hostPort] = proxy.split("@");
|
||||
|
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -149,6 +149,8 @@ async function getSettings() {
|
|||
function configureAxios(panelHost, apiKey, proxy) {
|
||||
axios.defaults.baseURL = panelHost;
|
||||
axios.defaults.headers.common["Authorization"] = `Bearer ${apiKey}`;
|
||||
axios.defaults.maxContentLength = Infinity;
|
||||
axios.defaults.maxBodyLength = Infinity;
|
||||
|
||||
if (proxy) {
|
||||
const [auth, hostPort] = proxy.split("@");
|
||||
|
|
Loading…
Reference in a new issue