From 528dc4140e4c20b83b26621d82fac784f8ec859a Mon Sep 17 00:00:00 2001 From: Eli Date: Sat, 25 Jul 2020 02:46:16 -0400 Subject: [PATCH] Fix typos with the `module.exports` functions. (#7070) The `module.exports` example code is missing a closing parenthesis at the end of each example. Added the closing parenthesis. --- docs/v3.x/admin-panel/deploy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/v3.x/admin-panel/deploy.md b/docs/v3.x/admin-panel/deploy.md index 59503255d5..6ce3265c73 100644 --- a/docs/v3.x/admin-panel/deploy.md +++ b/docs/v3.x/admin-panel/deploy.md @@ -22,7 +22,7 @@ module.exports = ({ env }) => ({ admin: { url: '/dashboard', // We change the path to access to the admin (highly recommended for security reasons). }, -}; +}); ``` **You have to rebuild the administration panel to make this work.** [Build instructions](./customization.md#build). @@ -42,7 +42,7 @@ module.exports = ({ env }) => ({ url: '/', // Note: The administration will be accessible from the root of the domain (ex: http://yourfrontend.com/) serveAdminPanel: false, // http://yourbackend.com will not serve any static admin files }, -}; +}); ``` After running `yarn build` with this configuration, the folder `build` will be created/overwritten. You can then use this folder to serve it from another server with the domain of your choice (ex: `http://youfrontend.com`).