GithubHelp home page GithubHelp logo

centrifugal / web Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 14.0 45.26 MB

Admin web interface for Centrifugo real-time messaging server

License: MIT License

HTML 0.89% JavaScript 1.01% Shell 0.05% TypeScript 98.02% Sass 0.03%

web's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

web's Issues

better documentation on how to run admin web interface

if I'm running Centrifugo with the --web flag. How do I get the admin web interface to show up. Is there a default port the interface is set to listen on?

Basically, I'm lost on whether I need to clone this repo into my app or not.

Incorrect auth and socket urls when Centrifugo works on custom location

I.e. when we use sth like this in Nginx:

server {
     listen 30620;

     location /centrifugo/ {
               rewrite /centrifugo(.*) $1 break;
               proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
               proxy_set_header Host $http_host;
               proxy_redirect off;
               proxy_pass http://127.0.0.1:30619;
       }
}

We must probably use relative auth path and use location path to generate socket url.

Module build failed: SyntaxError: Unexpected token

When I try build, show this error

ERROR in ./src/index.js
Module build failed: SyntaxError: Unexpected token (8:16)

  6 | import './styles/app.scss';
  7 |
> 8 | ReactDOM.render(<App />, document.getElementById('app'));
    |                 ^

centrifugo V4 admin interface not compatible with reverse proxy

Hi,

centrifugo admin panel seems not compatible with reverse proxy .
example:
reverse proxy send request /toto to centrifugo on /
if i send /toto/admin, i receive a responce but the JS seems hardcoded with full path

<script defer="defer" src="/static/js/main.850cfbc8.js"></script><link href="/static/css/main.0c407e63.css" rel="stylesheet">

so the js are not found on my server

but on v3, the paths are relative and it works

<script type="text/javascript" src="bundle.js?7c53f4001f2f014e1a63"></script>

Checkbox to stop rendering new messages

Sometimes we want to investigate certain message in admin web interface messages panel. But new messages arrive and message goes down so we need to scroll to it. We can add control on top of this panel to drop new messages while it's in checked state.

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.