FAQ
i made a quick and dirty website offline store, which works in general but
somehow the page layout isn't rendered as expected.

layout rendering when accessing the page via e.g.
http://localhost:9090/18245379458095083374

isn't working but when browsing the file via e.g.
file:///pages/18245379458095083374

works though.

can someone point out what i'm doing wrong here?

the source can be found on
https://play.golang.org/p/AwcVIqkarS

and running it with page where it isn't working can be done with
go run main.go https://blogs.dropbox.com/dropbox/


cheers,
manuel

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Lars Tørnes Hansen at May 10, 2016 at 10:35 am
    A browser will read a file from the file system if you use file:/// , but a
    browser will do a HTTP request if you use http://

    Den søndag den 8. maj 2016 kl. 16.55.51 UTC+2 skrev Manuel Graf:
    i made a quick and dirty website offline store, which works in general but
    somehow the page layout isn't rendered as expected.

    layout rendering when accessing the page via e.g.
    http://localhost:9090/18245379458095083374

    isn't working but when browsing the file via e.g.
    file:///pages/18245379458095083374

    works though.

    can someone point out what i'm doing wrong here?

    the source can be found on
    https://play.golang.org/p/AwcVIqkarS

    and running it with page where it isn't working can be done with
    go run main.go https://blogs.dropbox.com/dropbox/


    cheers,
    manuel
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Lars Tørnes Hansen at May 10, 2016 at 10:41 am
    I somehow swapped http:// and file:///
    Sorry

    Den søndag den 8. maj 2016 kl. 16.55.51 UTC+2 skrev Manuel Graf:
    i made a quick and dirty website offline store, which works in general but
    somehow the page layout isn't rendered as expected.

    layout rendering when accessing the page via e.g.
    http://localhost:9090/18245379458095083374

    isn't working but when browsing the file via e.g.
    file:///pages/18245379458095083374

    works though.

    can someone point out what i'm doing wrong here?

    the source can be found on
    https://play.golang.org/p/AwcVIqkarS

    and running it with page where it isn't working can be done with
    go run main.go https://blogs.dropbox.com/dropbox/


    cheers,
    manuel
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 8, '16 at 2:55p
activeMay 10, '16 at 10:41a
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase