Skip to content

Commit

Permalink
Fix test server.
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Aug 12, 2024
1 parent 4f60201 commit b233b30
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions bin/a12n-server
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#!/usr/bin/env node

/* Some eslint overrides since we're in Javascript land here */

/* eslint "@typescript-eslint/no-var-requires": 0 */

const fs = require('node:fs');
const path = require('node:path');
const dotenv = require('dotenv');
import fs from 'node:fs';
import path from 'node:path';
import dotenv from 'dotenv';

dotenv.config();

Expand All @@ -19,7 +16,7 @@ if (!isConfigured()) {

}

require('../dist/app.js');
await import('../dist/app.js');

function isConfigured() {

Expand Down

0 comments on commit b233b30

Please sign in to comment.