mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 13:50:38 +00:00
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.
This commit is contained in:
parent
3d1cb2ca4d
commit
528dc4140e
@ -22,7 +22,7 @@ module.exports = ({ env }) => ({
|
|||||||
admin: {
|
admin: {
|
||||||
url: '/dashboard', // We change the path to access to the admin (highly recommended for security reasons).
|
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).
|
**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/)
|
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
|
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`).
|
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`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user