From f434aa0f3c8f75d2cb3ca9ae31c11172db6fe723 Mon Sep 17 00:00:00 2001 From: XieYu Date: Wed, 10 Jul 2024 00:02:21 +0800 Subject: [PATCH] =?UTF-8?q?docs=EF=BC=9A=E5=A2=9E=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E7=82=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 1 + 1 file changed, 1 insertion(+) diff --git a/.env b/.env index 35ac126..bfe436d 100644 --- a/.env +++ b/.env @@ -1 +1,2 @@ +#这个文件的作用是修改api接口,因为docker容器必须要用容器名+端口访问,而不是localhost,而本地调试的时候可以用localhost API_URL=http://127.0.0.1/:8000/api/posts/ \ No newline at end of file