prof
V2EX  ›  问与答

hugo 静态博客局域网内访问内容失败

  •  
  •   prof · Jun 4, 2020 · 1968 views
    This topic created in 2175 days ago, the information mentioned may be changed or developed.

    我在本地新建了一个 hugo 静态博客之后, 执行 hugo server -d --bind=192.168.10.86 -- baseURL=http://192.168.10.86:1313 启动, 博客界面了,不过没有显示文章内容。 怎样才能显示内容呢?

    2 replies    2020-06-04 11:36:32 +08:00
    jdhao
        1
    jdhao  
       Jun 4, 2020 via Android
    没试过这样的,一般都是用 hugo server 给的本地 localhost 地址预览效果,试试直接 hugo server ?
    prof
        2
    prof  
    OP
       Jun 4, 2020
    @jdhao 我想做个公司内部贴吧。hugo server 不能用 ip 访问哦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5734 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 02:23 · PVG 10:23 · LAX 19:23 · JFK 22:23
    ♥ Do have faith in what you're doing.