Giter Site home page Giter Site logo

Comments (3)

mrdrogdrog avatar mrdrogdrog commented on May 25, 2024 1

The backend has nothing to do with this. During build time the frontend tries to pre-render as much content as possible. This is done using server side rendering. But during server side rendering it tries to contact the backend for e.g. runtime configuration.
During build time the backend URL is "example.org" . That's why the build process tries to access the network.
Should be easy to fix by just failing without a request while building.

from hedgedoc.

ErikMichelson avatar ErikMichelson commented on May 25, 2024

As far as I've seen it, these files could be responsible:

  • frontend/src/utils/base-url-from-env-extractor.ts
  • backend/src/realtime/websocket/utils/extract-note-id-from-request-url.ts

All other resources pointing to external domains are either test files, docs or comments giving an example.

from hedgedoc.

ErikMichelson avatar ErikMichelson commented on May 25, 2024

You're right. However this should be fixed soon, as it's also against the usage guidelines for the example domains.

please do not design applications that require the example domains to have operating HTTP service

from hedgedoc.

Related Issues (20)

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.