search

Home  >  Q&A  >  body text

Please tell me how to configure routing in tp5.1 so that it cannot be accessed using localhost/servername.

<?php

use think/facade/Route;


##////Bind the current url to the blog control of the index module Index operation of the server


Route::bind('index/blog/index')


super~M%super~M%2081 days ago820

reply all(0)I'll reply

No reply
  • Cancelreply