Skip to content

Conversation

@farrukh2002
Copy link

that cleanup is only because VS Code asked me to do it.

Because VS Code said me to do so.
Fixed the issue where the script failed with error:
        curl: (6) Could not resolve host: null.gofile.io.

Changes:

        Added User-Agent headers to curl requests to bypass API restrictions.

        Added a fallback check: if the API returns null, defaults to store1 instead of crashing.

        Improved handling for uploads by verifying if we got a link.
@farrukh2002
Copy link
Author

Closed since its already addressed in another pull request by moving to new API endpoints #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants