Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Replace require with import (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 authored Feb 12, 2023
1 parent 0537544 commit fa42c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default async function run() {
await syncApp.init();

if (config.https) {
const https = require('https');
const https = await import('node:https');
const httpsOptions = {
...config.https,
key: parseHTTPSConfig(config.https.key),
Expand Down

0 comments on commit fa42c22

Please sign in to comment.