mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: env var and the image reference.
This commit is contained in:
1 parent
dacf373619
commit
76f1a8099f
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -6,4 +6,4 @@ export { default as NoFrameworkIcon } from './NoFrameworkIcon.svelte';
|
||||
export { default as NuxtFrameworkIcon } from './NuxtFrameworkIcon.svelte';
|
||||
export { default as ReactFrameworkIcon } from './ReactFrameworkIcon.svelte';
|
||||
export { default as SvelteFrameworkIcon } from './SvelteFrameworkIcon.svelte';
|
||||
export { default as VueFrameworkIcon } from './AngularFrameworkIcon.svelte';
|
||||
export { default as VueFrameworkIcon } from './VueFrameworkIcon.svelte';
|
||||
@@ -43,7 +43,7 @@
|
||||
VueFrameworkIcon,
|
||||
NoFrameworkIcon,
|
||||
AngularFrameworkIcon,
|
||||
JavascriptFrameworkIcon
|
||||
JavascriptFrameworkIcon,
|
||||
} from './components/index';
|
||||
import { hostnameRegex } from '$lib/helpers/string';
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
const projectId = page.params.project;
|
||||
|
||||
const updateConfigCode = (prefix = '') => `${prefix}APPWRITE_PROJECT_ID = "${projectId}"
|
||||
${prefix}APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.params.project).client.config.endpoint}"
|
||||
${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.project).client.config.endpoint}"
|
||||
`;
|
||||
type FrameworkType = {
|
||||
key: string;
|
||||
@@ -100,7 +100,7 @@ ${prefix}APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.p
|
||||
smallIcon: IconNuxt,
|
||||
portNumber: 3000,
|
||||
runCommand: 'npm run dev',
|
||||
updateConfigCode: updateConfigCode('NUXT_')
|
||||
updateConfigCode: updateConfigCode('NUXT_PUBLIC_')
|
||||
},
|
||||
{
|
||||
key: 'nextjs',
|
||||
|
||||
Reference in new issue
Block a user