GithubHelp home page GithubHelp logo

Comments (4)

casbin-bot avatar casbin-bot commented on June 19, 2024

@tangyang9464 @JalinWang @imp2002

from casdoor.

hsluoyz avatar hsluoyz commented on June 19, 2024

@wearpants what do you mean by "requested file doesn't exist"? What's the scenario?

from casdoor.

wearpants avatar wearpants commented on June 19, 2024

When I request a file that does not exist on disk in the /web/build directory, instead of a 404 response, I get back the contents of index.html

$ curl http://mycasbin.example.com/NONESUCH
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Casdoor - An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS"/><link rel="apple-touch-icon" href="https://demo.omaha-data.com/casdoor/static/img/favicon.png"/><link rel="manifest" href="https://demo.omaha-data.com/casdoor/static/site/casdoor/manifest.json"/><title>Casdoor</title><script defer="defer" src="./static/js/main.05f504df.js"></script><link href="./static/css/main.b5f23b34.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

from casdoor.

hsluoyz avatar hsluoyz commented on June 19, 2024

@wearpants this is expected. As the frontend is a React SPA. You better learn what React is first.

from casdoor.

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.