Renamed deploy app to instsall

This commit is contained in:
2026-01-01 17:55:37 +01:00
parent 4f7376b9b0
commit 579cd030f8
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { getNodes } from "./node";
import axios from "axios";
import { Env, EnvVariable, ImageApp } from "@/lib/types";
export async function deployNewApp(name: string, repo: string, nodeId: string) {
export async function installApp(name: string, repo: string, nodeId: string) {
if (await verifySession()) {
throw new Error("Unauthorized");
}
+1 -1
View File
@@ -77,7 +77,7 @@ export async function getApplications(): Promise<ImageApp[]> {
return apps;
}
export async function deployNewApp(name: string, repo: string, nodeId: string) {
export async function installApp(name: string, repo: string, nodeId: string) {
// Create app ID
const appId = `app_${randomUUID()}`;
const appDir = path.join(DATA_DIR, appId);