Skip to content

Use strict https headers and redirect from http to https in production mode #154

Use strict https headers and redirect from http to https in production mode

Use strict https headers and redirect from http to https in production mode #154

Triggered via pull request February 14, 2025 10:04
Status Failure
Total duration 25s
Artifacts

pull-request.yml

on: pull_request
Code style checks
15s
Code style checks
Javascript tests
14s
Javascript tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Code style checks: lib/middleware/production.js#L5
Expected to return a value at the end of function 'production'
Code style checks: lib/middleware/production.js#L14
Missing semicolon
Code style checks: lib/middleware/production.js#L22
Unexpected string concatenation
Code style checks: lib/middleware/production.js#L22
Missing semicolon
Code style checks: lib/middleware/production.js#L23
Unnecessary 'else' after 'return'
Code style checks: lib/middleware/production.js#L24
Missing semicolon
Code style checks: lib/middleware/production.js#L25
Block must not be padded by blank lines
Code style checks
Process completed with exit code 1.
Code style checks: lib/middleware/production.js#L14
Unexpected console statement