Skip to content

Commit

Permalink
Rename rendered rules
Browse files Browse the repository at this point in the history
  • Loading branch information
constantgillet committed May 2, 2024
1 parent 4968d92 commit 396c597
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/_app._main-layout.onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const SecondStepComponent = ({ templateId }: { templateId: string | null }) => {
const user = useUser();
const [hasClickedRender, setHasClickedRender] = useState(false);

const imageRenderUrl = `${getPublicEnv("WEBSITE_URL")}/api/render/${
const imageRenderUrl = `${getPublicEnv("WEBSITE_URL")}/api/simple-url/${
templateId || "your-template-id"
}?name=${user?.username}`;

Expand Down
2 changes: 1 addition & 1 deletion app/routes/_app._main-layout.templates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const TemplateCard = ({
>
<Link to={`/editor/${template.id}`}>
<img
src={`/api/render/${template.id}?draft=true`}
src={`/api/simple-url/${template.id}?draft=true`}
width={"full"}
height={"full"}
alt="Og template"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 396c597

Please sign in to comment.