Skip to content

Commit

Permalink
Fix typos with the module.exports functions. (#7070)
Browse files Browse the repository at this point in the history
The `module.exports` example code is missing a closing parenthesis at the end of each example. Added the closing parenthesis.
  • Loading branch information
misdreavus79 committed Jul 25, 2020
1 parent 3d1cb2c commit 528dc41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v3.x/admin-panel/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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`).
Expand Down

0 comments on commit 528dc41

Please sign in to comment.