mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -5,7 +5,7 @@ import {createServer, type IncomingMessage, type Server, type ServerResponse} fr
|
||||
import path from 'node:path';
|
||||
import {fileURLToPath} from 'node:url';
|
||||
import send from 'send';
|
||||
import {type AstroServerShutdown, AstroServerTermination} from './AstroServerTermination';
|
||||
import {type AstroServerShutdown, AstroServerTermination} from '@/server/AstroServerTermination';
|
||||
import {
|
||||
CanonicalNetworkProtocol,
|
||||
getNodeErrorCode,
|
||||
@@ -16,8 +16,8 @@ import {
|
||||
MIMEType,
|
||||
NodeErrorCode,
|
||||
OUTBOUND_USER_AGENT,
|
||||
} from './HTTPConstants';
|
||||
import {siteSecurityHeaders} from './SecurityHeaders';
|
||||
} from '@/server/HTTPConstants';
|
||||
import {siteSecurityHeaders} from '@/server/SecurityHeaders';
|
||||
|
||||
const HEALTH_PATH = '/_health';
|
||||
const HEALTH_RESPONSE_BODY = JSON.stringify({status: 'ok'});
|
||||
|
||||
Reference in new issue
Block a user