Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/map/ 以下だと404ページが出ない #257

Open
halsk opened this issue Oct 13, 2019 · 1 comment
Open

/map/ 以下だと404ページが出ない #257

halsk opened this issue Oct 13, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@halsk
Copy link
Member

halsk commented Oct 13, 2019

多分 github pages 側のリバースプロキシの関係だと思われますが、 https://codeforjapan.github.io/mapprint/map/x など assets/config/list.json にない /map 以下のルートの fallback がうまく動いてない模様です。ユーザには影響ないので、積極的に解決するほどではありませんが。。。

@halsk halsk added the bug Something isn't working label Oct 13, 2019
@takano32
Copy link
Contributor

参考

HTTP/2 でステータスコードは 404 でした。

$ curl -I https://kamimap.com/map/x
HTTP/2 404
server: GitHub.com
content-type: text/html; charset=utf-8
access-control-allow-origin: *
etag: "6039bb7d-d96"
x-proxy-cache: MISS
x-github-request-id: 50DA:0C6B:496D2:5E603:6039BB9C
accept-ranges: bytes
date: Sat, 27 Feb 2021 03:25:16 GMT
via: 1.1 varnish
age: 0
x-served-by: cache-hnd18720-HND
x-cache: MISS
x-cache-hits: 0
x-timer: S1614396317.808274,VS0,VE180
vary: Accept-Encoding
x-fastly-request-id: 47368b8715d81bbbed0cc81260e9300e2a2669a1
content-length: 3478

body

<!doctype html>
<html prefix="og: http://ogp.me/ns#" data-n-head="%7B%22prefix%22:%7B%221%22:%22og:%20http://ogp.me/ns#%22%7D%7D">
  <head>
    <title> - 紙マップ</title><meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width,initial-scale=1"><meta data-n-head="1" data-hid="description" name="description" content="印刷できる災害情報サイト"><meta data-n-head="1" data-hid="og:site_name" property="og:site_name" content="紙マップ"><meta data-n-head="1" data-hid="og:type" property="og:type" content="website"><meta data-n-head="1" data-hid="og:title" property="og:title" content="紙マップ"><meta data-n-head="1" data-hid="og:description" property="og:description" content="印刷できる災害情報サイト"><meta data-n-head="1" data-hid="og:image" property="og:image" content="https://kamimap.com/images/ogp_main.png"><meta data-n-head="1" name="twitter:card" content="summary_large_image"><link data-n-head="1" rel="apple-touch-icon" type="image/png" href="/apple-touch-icon.png"><link data-n-head="1" rel="icon" type="image/x-icon" href="/favicon.ico"><link data-n-head="1" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans"><script data-n-head="1" src="https://www.googletagmanager.com/gtag/js?id=UA-45275834-9"></script><script data-n-head="1" src="/ga.js"></script><base href="/"><link rel="preload" href="/_nuxt/794755f.js" as="script"><link rel="preload" href="/_nuxt/1650649.js" as="script"><link rel="preload" href="/_nuxt/43796a2.js" as="script"><link rel="preload" href="/_nuxt/238acfb.js" as="script">
  </head>
  <body>
    <div id="__nuxt"><style>#nuxt-loading{background:#fff;visibility:hidden;opacity:0;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;animation:nuxtLoadingIn 10s ease;-webkit-animation:nuxtLoadingIn 10s ease;animation-fill-mode:forwards;overflow:hidden}@keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}@-webkit-keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}#nuxt-loading>div,#nuxt-loading>div:after{border-radius:50%;width:5rem;height:5rem}#nuxt-loading>div{font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid #f5f5f5;border-left:.5rem solid #fff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:nuxtLoading 1.1s infinite linear;animation:nuxtLoading 1.1s infinite linear}#nuxt-loading.error>div{border-left:.5rem solid #ff4500;animation-duration:5s}@-webkit-keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script>window.addEventListener("error",function(){var e=document.getElementById("nuxt-loading");e&&(e.className+=" error")})</script><div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div></div><script>window.__NUXT__={config:{app:{basePath:"/",assetsPath:"/_nuxt/",cdnURL:null}}}</script>
  <script src="/_nuxt/794755f.js"></script><script src="/_nuxt/1650649.js"></script><script src="/_nuxt/43796a2.js"></script><script src="/_nuxt/238acfb.js"></script></body>
</html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants