diff --git a/api/public/test.html b/api/public/test.html new file mode 100644 index 0000000..d162581 --- /dev/null +++ b/api/public/test.html @@ -0,0 +1,50 @@ + + + + + + +

App Stream

+
+ + + clickme + + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here + App Name here +
+ + diff --git a/api/src/routes/appStream/index.ts b/api/src/routes/appStream/index.ts index 793efbd..ea379e7 100644 --- a/api/src/routes/appStream/index.ts +++ b/api/src/routes/appStream/index.ts @@ -40,17 +40,6 @@ export const publishAppStream = async ( if (!streamServiceName) { streamServiceName = `AppStreamName${appCount + 1}` - } else { - const alreadyDeployed = process.appStreamConfig[streamServiceName] - if (alreadyDeployed) { - if (alreadyDeployed.appLoc === appLoc) { - // redeploying to same streamServiceName - } else { - // trying to deploy to another existing streamServiceName - // assign new streamServiceName - streamServiceName = `${streamServiceName}-${appCount + 1}` - } - } } router.use(`/${streamServiceName}`, express.static(pathToDeployment))