-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
Problems with applications in subdirectories #246
Comments
Why the expected URL must include the subdirectories? |
Could you explain more your issue? |
@PH7-Jack This is because the application is located in a subdirectory. Therefore, if a subdirectory is not in the URL, a 404 error is returned. There is a way to use a subdomain, but I would like to know what the solution would be if I were to install in a subdirectory. Please let me know if I'm not explaining it well enough. |
I'm sorry, but I didn't understand completely
You have a DNS record point to your server
Is that? If so, it's not the better way to server multiples apps in the same URL, you can use the wildcard subdomains
Otherwise, the wireui will use the laravel route provider to server the wireui route, I can't change the route provider, but you can create your own API to this, just register this controller in your web route with a path that you want. Add a script tag in the HTML to fetch the assets in the new route. |
Old issue, closing it now. Tag me to re-open if your problem still persists |
@PH7-Jack I don't know if it's the right place for that but it seems to go the same way. I have issue with icons when serving application in a subdirectory. I mean the app is not at the root url. I have updated the .env file accordingly. APP_URL=http://localhost/appname Note: Notifications work (without the icon showing) and I have a icon related error in the console (404 Not Found). And I'm seeing that the path is not good (http://localhost/wireui/icons/outline/check-circle instead of http://localhost/appname/wireui/icons/outline/check-circle). This strange message displays behind the notification:
|
@PH7-Jack any solution? |
It seems that it is not intended to put the application directly in a subdirectory. As mentioned here, for example, edit the hosts and apply the application's subdomain. |
Alright, thanks @kai0310 . |
any solution ? |
I am having the same problem. Is it not possible to have the WireUI url for resources, either use the |
I have the same problem as @swartjie |
Describe the bug
This occurs when the application is placed in a subdirectory.
The
APP_URL
andASSET_URL
also include subdirectories, but this does not work.Some sexuals, such as modals, will work, but may not work with respect to those that publish URLs at the same time they work.For example, in the example using dialog, the following URL is issued without subdirectories.
Application URL:
https://example.com/app/
Output URL:
https://example.com/wireui/button?method=deletePost¶ms=Saved&......
Expect URL:
https://example.com/app/wireui/button?method=deletePost¶ms=Saved&......
The text was updated successfully, but these errors were encountered: