File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
client/packages/lowcoder/src
pages/editor/right/PluginPanel Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export function parseCompType(compType: string) {
3939}
4040
4141export async function getNpmPackageMeta ( packageName : string ) {
42- const res = await axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ packageName } / ` ) ;
42+ const res = await axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ packageName } ` ) ;
4343 if ( res . status >= 400 ) {
4444 return null ;
4545 }
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ export function PluginItem(props: PluginViewProps) {
6767
6868 useEffect ( ( ) => {
6969 setLoading ( true ) ;
70- axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ name } / ` ) . then ( ( res ) => {
70+ axios . get < NpmPackageMeta > ( `${ NPM_REGISTRY_URL } /${ name } ` ) . then ( ( res ) => {
7171 if ( res . status >= 400 ) {
7272 return ;
7373 }
You can’t perform that action at this time.
0 commit comments