mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-12 13:44:41 +00:00
Move Express server API from V1 to bridge (#469)
Test Plan: `yarn start` and `node bin/sourcecred.js start` both still work. wchargin-branch: bridge-api
This commit is contained in:
parent
d627475119
commit
bb75cc54cd
@ -58,7 +58,7 @@ module.exports = {
|
||||
"commands/graph": resolveApp("src/v1/cli/commands/graph.js"),
|
||||
"commands/plugin-graph": resolveApp("src/v1/cli/commands/pluginGraph.js"),
|
||||
"commands/start": resolveApp("src/v1/cli/commands/start.js"),
|
||||
apiApp: resolveApp("src/v1/app/apiApp.js"),
|
||||
apiApp: resolveApp("src/bridge/app/apiApp.js"),
|
||||
//
|
||||
sourcecredV3: resolveApp("src/v3/cli/sourcecred.js"),
|
||||
"commands/load-plugin-v3": resolveApp("src/v3/cli/commands/loadPlugin.js"),
|
||||
|
@ -5,7 +5,7 @@ import chalk from "chalk";
|
||||
import fs from "fs";
|
||||
import {choosePort} from "react-dev-utils/WebpackDevServerUtils";
|
||||
|
||||
import apiApp from "../../app/apiApp";
|
||||
import apiApp from "../../../bridge/app/apiApp";
|
||||
import {sourcecredDirectoryFlag} from "../common";
|
||||
|
||||
const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 4000;
|
||||
|
Loading…
x
Reference in New Issue
Block a user