search

Home  >  Q&A  >  body text

Why do some sites have to set up virtual domain names ccs and js to be useful?

Written with think php3

Why does the site have to set up virtual domain names ccs and js to be useful

卍2377 days ago1148

reply all(3)I'll reply

  • Summer

    Summer2018-07-10 14:29:32

    There is an error in the resource parsed by localhost

    reply
    0
  • 无忌哥哥

    无忌哥哥2018-07-10 11:03:39

    You have to check the specific directory address in F12. The file directory is different between the folder you set using localhost and the virtual domain name.

    reply
    0
  • 卍

    2018-07-10 08:43:46

    For example, I have localhost/admin that can be accessed, but css and js cannot be imported.

    If I get a virtual domain name, I can use admin.test.com to import it

    reply
    0
  • Cancelreply