Skip to content

Commit

Permalink
Replace NodePHP with PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
eliot-akira committed Sep 11, 2024
1 parent 45c5820 commit fc61a8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/wp-now/src/start-server.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import fs from 'fs';
import { WPNowOptions } from './config';
import { HTTPMethod } from '@php-wasm/universal';
import { HTTPMethod, PHP } from '@php-wasm/universal';
import express from 'express';
import compression from 'compression';
import compressible from 'compressible';
import { portFinder } from './port-finder';
import { NodePHP } from '@php-wasm/node';
import { isWebContainer } from '@webcontainer/env';
import startWPNow from './wp-now';
import { output } from './output';
Expand All @@ -24,7 +23,7 @@ const requestBodyToBytes = async (req): Promise<Uint8Array> =>

export interface WPNowServer {
url: string;
php: NodePHP;
php: PHP;
options: WPNowOptions;
stopServer: () => Promise<void>;
}
Expand Down

0 comments on commit fc61a8c

Please sign in to comment.