Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zxypro1 committed Dec 31, 2024
1 parent 5795e2d commit fae6157
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
20 changes: 10 additions & 10 deletions s-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ resources:
- DELETE
authType: anonymous

fc3_domain_0:
component: fc3-domain
props:
region: ${vars.region}
domainName: auto
protocol: HTTP
routeConfig:
routes:
- path: /*
functionName: ${resources.framework.props.functionName}
# fc3_domain_0:
# component: fc3-domain
# props:
# region: ${vars.region}
# domainName: auto
# protocol: HTTP
# routeConfig:
# routes:
# - path: /*
# functionName: ${resources.framework.props.functionName}
6 changes: 3 additions & 3 deletions src/components/home/BuildForms.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import SmoothButton from "./SmoothButton.astro";
<span>并且可以在流水线无缝集成</span>

<div class="mt-[2vw] text-[1vw]">
<SmoothButton href="https://registry.serverless-devs.com/application.html">查看更多</SmoothButton>
<SmoothButton href="https://registry.serverless-devs.com">查看更多</SmoothButton>
</div>
</div>

Expand All @@ -39,7 +39,7 @@ import SmoothButton from "./SmoothButton.astro";
<span>都是精心打磨的云资源管理利器</span>

<div class="mt-[2vw] text-[1vw]">
<SmoothButton href="https://registry.serverless-devs.com/component.html">查看更多</SmoothButton>
<SmoothButton href="https://registry.serverless-devs.com">查看更多</SmoothButton>
</div>
</div>
</div>
Expand All @@ -54,7 +54,7 @@ import SmoothButton from "./SmoothButton.astro";
<span>实现服务的热启动</span>

<div class="mt-[2vw] text-[1vw]">
<SmoothButton href="https://registry.serverless-devs.com/plugin.html">查看更多</SmoothButton>
<SmoothButton href="https://registry.serverless-devs.com">查看更多</SmoothButton>
</div>
</div>

Expand Down
10 changes: 5 additions & 5 deletions src/components/home/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import SmoothButton from "./SmoothButton.astro";
HOT !
</div>
<p class="text-white text-xs mr-2">
<a href="https://registry.serverless-devs.com/details.html?name=fc-stable-diffusion-v3&package_type=v3" target="_blank" class="hover:text-[#ee6590]">Stable-Diffusion</a>,
<a href="https://registry.serverless-devs.com/details.html?name=fc-comfyui&package_type=v3" target="_blank" class="hover:text-[#ee6590]">ComfyUI</a>,
<a href="https://registry.serverless-devs.com/details.html?name=cosyvoice&package_type=v3" target="_blank" class="hover:text-[#ee6590]">CosyVoice</a>,
<a href="https://registry.serverless-devs.com/details.html?name=ollama&package_type=v3" target="_blank" class="hover:text-[#ee6590]">Ollama</a>,
<a href="https://registry.serverless-devs.com/details.html?name=fc-gpt-sovits&package_type=v3" target="_blank" class="hover:text-[#ee6590]">GPT-SoVITS</a>
<a href="https://registry.serverless-devs.com/details/fc-stable-diffusion-v3" target="_blank" class="hover:text-[#ee6590]">Stable-Diffusion</a>,
<a href="https://registry.serverless-devs.com/details/fc-comfyui" target="_blank" class="hover:text-[#ee6590]">ComfyUI</a>,
<a href="https://registry.serverless-devs.com/details/cosyvoice" target="_blank" class="hover:text-[#ee6590]">CosyVoice</a>,
<a href="https://registry.serverless-devs.com/details/ollama" target="_blank" class="hover:text-[#ee6590]">Ollama</a>,
<a href="https://registry.serverless-devs.com/details/fc-gpt-sovits" target="_blank" class="hover:text-[#ee6590]">GPT-SoVITS</a>
等应用模版上架</p>
<!-- <Picture
src={nextIcon}
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/Templates.astro
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const ALL_TEMPLATE_SORTS = [{
sort.templates.map(template => (
<LineCard
title={template?.package?.name || template.name}
url={`https://registry.serverless-devs.com/details.html?name=${template?.package?.name || template.name}&package_type=v3`}
url={`https://registry.serverless-devs.com/details/${template?.package?.name || template.name}`}
description={template?.package?.description || template.description}
date={template?.package?.latest_create || template.latest_create}
hot={template?.package?.download || template.download}
Expand Down

0 comments on commit fae6157

Please sign in to comment.