Originally created by @DenniLa2 on GitHub (Apr 26, 2024).
I have an audiobookshelf server running on my local network. I can access it through both the web interface and the mobile app.
Today, I deployed the audiobookshelf-app project and ran npm run dev. I enter the server address in the browser, but I cannot connect.
web-app:
mobile-app interface in browser:
Browser console:
Can you please provide me with the instructions for connecting to the server?
Originally created by @DenniLa2 on GitHub (Apr 26, 2024).
I have an audiobookshelf server running on my local network. I can access it through both the web interface and the mobile app.
Today, I deployed the audiobookshelf-app project and ran `npm run dev`. I enter the server address in the browser, but I cannot connect.
web-app:

mobile-app interface in browser:

Browser console:

Can you please provide me with the instructions for connecting to the server?
adam
added the bug label 2026-04-24 23:44:12 +02:00
You have to run a server in development so that CORS is disabled. You will be able to connect to servers in development from the browser. You can also test on a mobile device that won't have CORS issues.
We could had an env variable to disable CORS on production servers I guess
@advplyr commented on GitHub (Apr 26, 2024):
You have to run a server in development so that CORS is disabled. You will be able to connect to servers in development from the browser. You can also test on a mobile device that won't have CORS issues.
We could had an env variable to disable CORS on production servers I guess
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @DenniLa2 on GitHub (Apr 26, 2024).
I have an audiobookshelf server running on my local network. I can access it through both the web interface and the mobile app.
Today, I deployed the audiobookshelf-app project and ran
npm run dev. I enter the server address in the browser, but I cannot connect.web-app:

mobile-app interface in browser:

Browser console:

Can you please provide me with the instructions for connecting to the server?
@advplyr commented on GitHub (Apr 26, 2024):
You have to run a server in development so that CORS is disabled. You will be able to connect to servers in development from the browser. You can also test on a mobile device that won't have CORS issues.
We could had an env variable to disable CORS on production servers I guess