修改获取示例文件 api path

This commit is contained in:
whyour
2024-01-17 23:48:32 +08:00
parent 6bec52dca1
commit e9804c51f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ const Diff = () => {
const getFiles = () => {
setLoading(true);
request
.get(`${config.apiPrefix}configs/sample`)
.get(`${config.apiPrefix}configs/samples`)
.then(({ code, data }) => {
if (code === 200) {
setFiles(data);