Closed JarrodMFlesch closed 3 days ago
admin path is hardcoded in generateImportMap
admin
Negligence
Threads config into generateImportMap function and uses config.routes.admin in place of /admin instances.
config.routes.admin
/admin
Fixes https://github.com/payloadcms/payload/issues/7803
Closing in favor of https://github.com/payloadcms/payload/pull/8085
What?
admin
path is hardcoded in generateImportMapWhy?
Negligence
How?
Threads config into generateImportMap function and uses
config.routes.admin
in place of/admin
instances.Fixes https://github.com/payloadcms/payload/issues/7803