maxralph01
Railway Specific Pattern to run React App without the trailing "#" from HashRouter
Hi everyone,
Please help me with the Railway specific pattern of removing the trailing "#" in URLs whilst using HashRouter, because I want to switch to the cleaner BrowserRouter instead of HashRouter.
Note that I am using HashRouter because the BrowserRouter was not working on production.
@Brody proffered a solution using a ".toml" file on another user's thread, but I can't see the thread no more.
Thanks.
116 replies
Vite: On Live Server, Fix React Router Page 404 on Refresh
On localhost, my React app works just fine using BrowserRouter.
But as I try same app on a Live Server, I get an error page on Refresh.
Please, how can I fix this?
In anticipation, thanks for your help.
5 replies
Urgent for Freelance Client!: On Railway, Custom Domain Not Connecting since 3 Days Now from Nameche
Hi everyone, I have taken all steps in the documentation and on Google and StackOverflow to connect a custom domain I bought on Namecheap.com. The domain does not seem to connect since 3 days now. Meanwhile, I have been using the "Generated Domain" from Railway. Kindly help me urgently, as I am at the verge of losing a client and my hard-earned money. Thanks.
306 replies
Been struggling with these Django projects won't deploy. Kindly help. Please
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
django.setup(set_prefix=False)
File "/opt/venv/lib/python3.11/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/venv/lib/python3.11/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/venv/lib/python3.11/site-packages/django/apps/config.py", line 178, in create
mod = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.nix-profile/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pages'
[2023-07-11 13:31:27 +0000] [9] [INFO] Worker exiting (pid: 9)
[2023-07-11 13:31:28 +0000] [1] [INFO] Shutting down: Master
[2023-07-11 13:31:28 +0000] [1] [INFO] Reason: Worker failed to boot.
204 replies