Skip to content

Commit

Permalink
Add HTTP proxy capability to bare meta
Browse files Browse the repository at this point in the history
  • Loading branch information
rifting committed Jan 14, 2024
1 parent b5cc245 commit fe446af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/BareServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export type BareManifest = {
versions: string[];
language: BareLanguage;
memoryUsage?: number;
HTTPProxy: boolean;
};

export interface Options {
Expand Down Expand Up @@ -175,6 +176,7 @@ export default class Server extends EventEmitter {
return {
versions: this.versions,
language: 'NodeJS',
HTTPProxy: true,
memoryUsage:
Math.round((process.memoryUsage().heapUsed / 1024 / 1024) * 100) / 100,
maintainer: this.options.maintainer,
Expand Down

0 comments on commit fe446af

Please sign in to comment.