1 Commits

Author SHA1 Message Date
f9a6c77259 Fix prod route to /mb to match backend 2025-12-15 22:39:48 +03:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
# Mantis Admin Dashboard
This is the admin dashboard for [mantis](https://github.com/allankoechke/mantis), a BaaS written in C++.
# MantisBase Admin Dashboard
This is the admin dashboard for [mantis](https://github.com/allankoechke/mantisbase), a BaaS written in C++.
> Still in development, some features may be broken!
![](screenshot.png)

View File

@@ -5,7 +5,7 @@ const { version } = require('./package.json');
/** @type {import('next').NextConfig} */
const nextConfig = {
// Use basePath in production, or if explicitly set via env var
basePath: process.env.NEXT_PUBLIC_BASE_PATH || (process.env.NODE_ENV === 'production' ? '/mb-admin' : ''),
basePath: process.env.NEXT_PUBLIC_BASE_PATH || (process.env.NODE_ENV === 'production' ? '/mb' : ''),
env: {
MANTIS_ADMIN_VERSION: version,
},

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "mantis-admin",
"version": "0.3.0",
"version": "0.3.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "mantis-admin",
"version": "0.3.0",
"version": "0.3.3",
"dependencies": {
"@hookform/resolvers": "^3.9.1",
"@radix-ui/react-accordion": "1.2.2",

View File

@@ -1,6 +1,6 @@
{
"name": "mantis-admin",
"version": "0.3.0",
"version": "0.3.3",
"private": true,
"scripts": {
"export": "next build && next export",