File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
from fastapi import FastAPI , WebSocket
12
12
from fastapi .responses import JSONResponse
13
+ from fastapi .middleware .cors import CORSMiddleware
13
14
from starlette .websockets import WebSocketDisconnect , WebSocketState
14
15
15
16
from nightwatch import __version__
19
20
config = fetch_config ("rics" )
20
21
21
22
# Initialization
22
- app = FastAPI (
23
- openapi_url = None
24
- )
23
+ app = FastAPI (openapi_url = None )
24
+ app .add_middleware (CORSMiddleware , allow_origins = ["*" ], allow_methods = ["*" ])
25
25
26
26
# Scaffold the application
27
27
app .state .clients = {}
Original file line number Diff line number Diff line change 5
5
font-family : "Fira Code" ;
6
6
src : url ("/fonts/fira.woff2" ) format ("woff2" );
7
7
}
8
+ @font-face {
9
+ font-family : "Fira Mono" ;
10
+ src : url ("/fonts/fira_mono.woff2" ) format ("woff2" );
11
+ }
8
12
9
13
/* Baselining */
10
14
* {
@@ -147,6 +151,7 @@ div.input-box {
147
151
}
148
152
# actual-input {
149
153
width : 100% ;
154
+ font-family : "Fira Mono" ;
150
155
}
151
156
152
157
/* Handle sidebar */
You can’t perform that action at this time.
0 commit comments