web_plsql
Version:
The Express Middleware for Oracle PL/SQL
27 lines (25 loc) • 539 B
JavaScript
import {startHttpServer} from '../src/index.js';
void startHttpServer({
port: 80,
routeStatic: [
{
route: '/i/',
directoryPath: 'apex/images',
},
],
routePlSql: [
{
route: '/apex',
user: 'APEX_PUBLIC_USER',
password: 'secret',
connectString: process.env.ORACLE_SERVER ?? '',
defaultPage: 'apex',
pathAlias: 'r',
pathAliasProcedure: 'wwv_flow.resolve_friendly_url',
documentTable: 'wwv_flow_file_objects$',
errorStyle: 'debug',
},
],
loggerFilename: 'access.log',
monitorConsole: false,
});