create-next-imagicma 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-next-imagicma",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-next-imagicma": "./bin/create-next-imagicma.mjs"
@@ -9,7 +9,7 @@ export function Providers({ children }: { children: React.ReactNode }) {
9
9
  const [queryClient] = React.useState(() => makeQueryClient());
10
10
 
11
11
  return (
12
- <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
12
+ <ThemeProvider attribute="class">
13
13
  <QueryClientProvider client={queryClient}>
14
14
  <TooltipProvider>
15
15
  <Toaster />
@@ -126,7 +126,7 @@ export default defineConfig(async ({ command }) => {
126
126
  : {
127
127
  host: "0.0.0.0",
128
128
  port: runtimePort,
129
- allowedHosts: ["localhost", "127.0.0.1", ".preview.imagicma.cn", ".preview.agentma.cn", ".preview.agentma.com"],
129
+ allowedHosts: ["localhost", "127.0.0.1", ".imagicma.cn", ".agentma.cn", ".agentma.com"],
130
130
  strictPort: true,
131
131
  hmr: { overlay: false },
132
132
  },