V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
prof
V2EX  ›  问与答

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

  •  
  •   prof · 2020-06-04 10:47:21 +08:00 · 1255 次点击
    这是一个创建于 1393 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2020-06-04 11:36:32 +08:00
    jdhao
        1
    jdhao  
       2020-06-04 11:26:11 +08:00 via Android
    没试过这样的,一般都是用 hugo server 给的本地 localhost 地址预览效果,试试直接 hugo server ?
    prof
        2
    prof  
    OP
       2020-06-04 11:36:32 +08:00
    @jdhao 我想做个公司内部贴吧。hugo server 不能用 ip 访问哦
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3356 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:22 · PVG 19:22 · LAX 04:22 · JFK 07:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.