使用 Schematics 创建的 Spartacus Storefront,在 index.html 里指定 OCC API url

为什么一直是 localhost:9002 ?

index.html 的 meta 标签页里找到了这个 localhost:9002

把第一个 dist 里的改成 9003,src 里的改成 9001

错误消息果然变了:

看样子以 index.html 里的为准:

猜你喜欢

转载自blog.csdn.net/i042416/article/details/124409592