Skip to content

关于在admin,路径的问题 #109

@ibmsoft

Description

@ibmsoft

现在有一个项目,跑在nginx上,我配置了项目的工程 路径为 http://xxdomain.com/site001
这个时候,http://xxdomain.com/site001/admin 可以跳转到 管理登录页面,但是这个时候登录页面的login
action 路径还是 /admin/auth/login,理论上这应该变成 /site001/admin/auth/login
这里的路径,需要根据上下文来获取,这里好像是写死了(不是指admin,admin 可以在config 里配置前缀)

需要调整login里的
<form action="{{url(Admin::url('auth/login') )}}" method="post">

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions