Skip to content

Commit fc81627

Browse files
author
alansangeeths
authored
updated rewrite url
1 parent 46cac32 commit fc81627

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ui-blocks/next.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
basePath: '/react/essential-ui-kit/blocks',
3+
basePath: '',
44
async rewrites() {
55
return [
6+
{
7+
source: "/react/essential-ui-kit/blocks/assets/:path*",
8+
destination: "/assets/:path*", // Preserve everything after "assets/"
9+
},
610
{
711
source: '/:path*',
812
destination: '/blocks-section/:path*',

0 commit comments

Comments
 (0)