just the bare necessities of state management.
Hotlink it from https://unpkg.com/valoo.
| // XState https://statecharts.github.io/xstate-viz/ | |
| const lightMachine = Machine({ | |
| id: 'light2', | |
| initial: 'standing', | |
| states: { | |
| standing: { | |
| on: { startOutgoingCall: 'waitForAnswer' }, | |
| on: { startIncomingCall: 'ringing' } |
just the bare necessities of state management.
Hotlink it from https://unpkg.com/valoo.
| server { listen 80; | |
| server_name example.com; | |
| access_log /var/log/example.com/nginx.access.log; | |
| error_log /var/log/example.com/nginx.error.log; | |
| root /var/www/apps/example.com/public; | |
| charset utf-8; | |
| location / { | |
| rewrite ^ https://$host$request_uri? permanent; | |
| } |