Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

use only port 8080 in the new version

Andras Bacsaib1759bf25d9c
diff --git a/docker/coolify-realtime/terminal-server.js b/docker/coolify-realtime/terminal-server.js
index d1d74c89fd..6649f866cd 100755
--- a/docker/coolify-realtime/terminal-server.js
+++ b/docker/coolify-realtime/terminal-server.js
@@ -33,22 +33,12 @@ const verifyClient = async (info, callback) => {
try {
// Authenticate with Laravel backend
- let response;
- try {
- response = await axios.post(`http://coolify:8080/terminal/auth`, null, {
- headers: {
- 'Cookie': `${sessionCookieName}=${laravelSession}`,
- 'X-XSRF-TOKEN': xsrfToken
- },
- });
- } catch (error) {
- response = await axios.post(`http://coolify/terminal/auth`, null, {
- headers: {
- 'Cookie': `${sessionCookieName}=${laravelSession}`,
- 'X-XSRF-TOKEN': xsrfToken
- },
- });
- }
+ const response = await axios.post(`http://coolify:8080/terminal/auth`, null, {
+ headers: {
+ 'Cookie': `${sessionCookieName}=${laravelSession}`,
+ 'X-XSRF-TOKEN': xsrfToken
+ },
+ });
if (response.status === 200) {
// Authentication successful