Giter VIP home page Giter VIP logo

web-2024's People

Contributors

temasaguru avatar

Stargazers

 avatar  avatar

web-2024's Issues

微妙なデザインの崩れ

  • お知らせページのフッター上余白がない #39
  • 記事一覧がスマホでセンタリングされていない
  • 記事一覧の左右余白が大きすぎる

画面プレビューすると500エラー

https://app.netlify.com/sites/oucrc-web-2024/functions/___netlify-handler

May 30, 09:50:48 PM: 4fc3cbe6 ERROR  Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './server.edge' is not defined by "exports" in /var/task/node_modules/.pnpm/[email protected]_3j7hb26pwgm6spbxoejtjx6xja/node_modules/react-dom/package.json
    at new NodeError (node:internal/errors:387:5)
    at throwExportsNotFound (node:internal/modules/esm/resolve:365:9)
    at packageExportsResolve (node:internal/modules/esm/resolve:649:3)
    at resolveExports (node:internal/modules/cjs/loader:554:36)
    at Function.Module._findPath (node:internal/modules/cjs/loader:594:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1012:27)
    at /var/task/node_modules/.pnpm/[email protected]_3j7hb26pwgm6spbxoejtjx6xja/node_modules/next/dist/server/require-hook.js:180:36
    at Function.Module._load (node:internal/modules/cjs/loader:871:27)
    at Module.require (node:internal/modules/cjs/loader:1098:19)
    at require (node:internal/modules/cjs/helpers:108:18) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}

microCMSのwebhookを受け取るAPIルートを作成してrevalidate

https://beta.nextjs.org/docs/data-fetching/revalidating#using-on-demand-revalidation

上記で説明されているようなルートにCMSからwebhookを投げれば、一切の待ち時間が必要なくなるが、認証情報を持たせられない https://blog.microcms.io/add-webhook-signature/ 署名検証のためシークレットの設定をすること

https://kittygiraudel.com/2022/05/16/rate-limit-nextjs-api-routes/

レートリミットが有効か。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.