From a26b1394ab3e9599fae23884d2d2ab62e37faf91 Mon Sep 17 00:00:00 2001 From: Lazaro Alonso Date: Fri, 22 Aug 2025 11:07:10 +0200 Subject: [PATCH] prod --- README.md | 32 +------------------------------- next.config.ts | 2 +- 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index 019a38e..259ac1d 100644 --- a/README.md +++ b/README.md @@ -1,31 +1 @@ -This is a [Next.js](https://nextjs.org) template. - -## Getting Started - -Start using this template by doing: - -```sh -npx create-next-app@latest --example "https://github.com/EarthyScience/next-project-site" [your-project-name] -``` - -then in your `new-project-name` directory do - -```sh -npm install -``` - -and run the development server: - -```bash -npm run dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. - -## serve locally `out` - -```sh -npx serve@latest out -``` \ No newline at end of file +# Earthnet initiative \ No newline at end of file diff --git a/next.config.ts b/next.config.ts index 75aa237..3d12413 100644 --- a/next.config.ts +++ b/next.config.ts @@ -3,7 +3,7 @@ import createMDX from '@next/mdx' /** @type {import('next').NextConfig} */ const nextConfig = { output: 'export' as const, - basePath: process.env.NODE_ENV === 'production' ? '' : '', + basePath: process.env.NODE_ENV === 'production' ? '/earthnet.tech' : '', images: { unoptimized: true, },