Collaboration completed for builder,dashboard, visualization for API and socket
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import express from "express";
|
||||
import { tokenValidator } from "../../../../shared/utils/token.ts";
|
||||
import {
|
||||
GetEnvironmentController,
|
||||
SetEnvironmentController,
|
||||
} from "../../v1Controllers/builderController/v1EnvironmentController.ts";
|
||||
|
||||
const v1Environment = express.Router();
|
||||
|
||||
v1Environment.post("/SetEnvironments", tokenValidator, SetEnvironmentController);
|
||||
|
||||
v1Environment.get(
|
||||
"/Environments/:projectId",
|
||||
tokenValidator,
|
||||
GetEnvironmentController
|
||||
);
|
||||
|
||||
export default v1Environment;
|
||||
Reference in New Issue
Block a user