mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
revert
This commit is contained in:
@@ -68,8 +68,6 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
|
||||
let hostname = $state(null);
|
||||
let hostnameError = $state(false);
|
||||
|
||||
const hostnameRegex = new RegExp(extendedHostnameRegex);
|
||||
|
||||
let frameworks: Array<FrameworkType> = [
|
||||
{
|
||||
key: 'svelte',
|
||||
@@ -160,6 +158,7 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
|
||||
);
|
||||
|
||||
async function createWebPlatform() {
|
||||
const hostnameRegex = new RegExp(extendedHostnameRegex);
|
||||
const finalHostname = hostname?.trim() || 'localhost';
|
||||
hostnameError = !hostnameRegex.test(finalHostname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user