@@ -91,7 +91,7 @@ const REST_BASE_URL = environment.rest.ssrBaseUrl || environment.rest.baseUrl;
9191const IIIF_ALLOWED_ORIGINS = environment . rest . allowedOrigins || [ ] ;
9292
9393// Assign the DOM window and document objects to the global object
94- ( _window as any ) . screen = { deviceXDPI : 0 , logicalXDPI : 0 } ;
94+ ( _window as any ) . screen = { deviceXDPI : 0 , logicalXDPI : 0 } ;
9595( global as any ) . window = _window ;
9696( global as any ) . document = _window . document ;
9797( global as any ) . navigator = _window . navigator ;
@@ -241,7 +241,7 @@ export function app() {
241241 server . get ( '/iiif/mirador/index.html' , ( req , res ) => {
242242 const referer = req . headers . referer ;
243243
244- if ( referer && ! referer . startsWith ( '/' ) ) {
244+ if ( referer && ! referer . startsWith ( '/' ) ) {
245245 try {
246246 const origin = new URL ( referer ) . origin ;
247247 if ( IIIF_ALLOWED_ORIGINS . includes ( origin ) ) {
@@ -253,7 +253,7 @@ export function app() {
253253 console . info ( 'Headers have been set ' , res . getHeader ( 'Access-Control-Allow-Origin' ) , res . getHeader ( 'Content-Security-Policy' ) ) ;
254254 }
255255 } catch ( error ) {
256- console . error ( " An error occurred setting security headers in response:" , error . message ) ;
256+ console . error ( ' An error occurred setting security headers in response:' , error . message ) ;
257257 }
258258 }
259259
@@ -682,10 +682,10 @@ function start() {
682682 * The callback function to serve client health check requests
683683 */
684684function clientHealthCheck ( req , res ) {
685- const isServerHealthy = true ;
686- if ( isServerHealthy ) {
687- res . status ( 200 ) . json ( { status : 'UP' } ) ;
688- }
685+ const isServerHealthy = true ;
686+ if ( isServerHealthy ) {
687+ res . status ( 200 ) . json ( { status : 'UP' } ) ;
688+ }
689689}
690690
691691/*
0 commit comments