Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use domains #58

Open
Nyxalis opened this issue Mar 6, 2023 · 2 comments
Open

How to use domains #58

Nyxalis opened this issue Mar 6, 2023 · 2 comments

Comments

@Nyxalis
Copy link

Nyxalis commented Mar 6, 2023

image
I added a domain, how do i set it up

@Nyxalis
Copy link
Author

Nyxalis commented Mar 6, 2023

Also sharex works but when i take a shot i get reponse of
{"user_id":1,"name":"OLMPuZWrq","extension":"png","updated_at":"2023-03-06T21:52:26.000000Z","created_at":"2023-03-06T21:52:26.000000Z","id":6,"resource_url":"https://upload.atoro.tech/i/OLMPuZWrq","resource_api":"https://upload.atoro.tech/api/images/OLMPuZWrq"}

@Senither
Copy link
Owner

Senither commented Mar 8, 2023

Regarding your original question, the domains are just a list of supported domains that are used in the resource_url when generating the responses for uploaded images/files/etc, the domain itself should already be pointing to your installation of the media server, otherwise, you'll get a faulty/invalid link that won't actually point to what you're uploading.

Regarding your second question, you need to make sure that you're fetching the resource_url property from the JSON response in ShareX, there are guides for how to set that up in ShareX on the project wiki.

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

No branches or pull requests

2 participants