Merge pull request #184 from coollabsio/next

v2.0.19
This commit is contained in:
Andras Bacsai 2022-02-23 10:29:10 +01:00 committed by GitHub
commit 277fd167cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "2.0.18",
"version": "2.0.19",
"license": "AGPL-3.0",
"scripts": {
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev --host 0.0.0.0",

View File

@ -79,7 +79,7 @@ export async function login({ email, password }) {
create: {
id: uid,
name: uniqueName(),
destinationDocker: { connect: { network: 'coolify' } }
destinationDocker: { connect: { network: cuid() } }
}
},
permission: { create: { teamId: uid, permission: 'owner' } }

View File

@ -61,8 +61,8 @@
class:hover:text-red-500={$session.isAdmin}
class="icons tooltip-bottom bg-transparent text-sm"
data-tooltip={$session.isAdmin
? 'Delete Git Source'
: 'You do not have permission to delete a Git Source'}><DeleteIcon /></button
? 'Delete Destination'
: 'You do not have permission to delete this destination'}><DeleteIcon /></button
>
</nav>
<slot />

View File

@ -1,6 +1,6 @@
<script>
import Docker from './_Docker.svelte';
import cuid from 'cuid';
let payload = {};
let selected = 'docker';
@ -15,7 +15,7 @@
user: 'root',
port: 22,
privateKey: null,
network: 'coolify',
network: cuid(),
isCoolifyProxyUsed: true
};
break;

View File

@ -75,7 +75,7 @@
async function handleSubmit() {
try {
loading.save = true;
if (fqdn) {
if (fqdn !== settings.fqdn) {
await post(`/settings/check.json`, { fqdn });
await post(`/settings.json`, { fqdn });
}