Skip to content

Commit

Permalink
Merge pull request #70 from ljwagerfield/upload-to-bytescale
Browse files Browse the repository at this point in the history
Update links from Upload.io -> Bytescale (rebrand)
  • Loading branch information
zeke authored Aug 21, 2023
2 parents 536398c + bd47eab commit 41480e4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ export default function Footer() {
</Link>
<Link
className={linkStyles}
href="https://upload.io?utm_source=project&utm_campaign=scribblediffusion"
href="https://www.bytescale.com/?utm_source=project&utm_campaign=scribblediffusion"
>
<Image
src="/logomarks/uploadio.svg"
data-tooltip-id="uploadio-tooltip"
data-tooltip-content="File storage from Upload.io"
alt="File storage from Upload.io"
src="/logomarks/bytescale.svg"
data-tooltip-id="bytescale-tooltip"
data-tooltip-content="File storage from Bytescale"
alt="File storage from Bytescale"
className={imageStyles}
fill={true}
unoptimized={true}
Expand Down
2 changes: 1 addition & 1 deletion lib/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function uploadFile(scribbleDataURI) {
mime: "image/png",
originalFileName: "scribble_input.png",
path: {
// See path variables: https://upload.io/docs/path-variables
// See path variables: https://www.bytescale.com/docs/path-variables
folderPath: `/uploads/${packageData.name}/${packageData.version}/{UTC_DATE}`,
fileName: "{ORIGINAL_FILE_NAME}_{UNIQUE_DIGITS_8}{ORIGINAL_FILE_EXT}",
},
Expand Down
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function MyApp({ Component, pageProps }) {
<>
<Tooltip id="replicate-tooltip" />
<Tooltip id="vercel-tooltip" />
<Tooltip id="uploadio-tooltip" />
<Tooltip id="bytescale-tooltip" />
<Tooltip id="github-tooltip" />
<Tooltip id="youtube-tooltip" />
<Component {...pageProps} />
Expand Down
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function Home() {
/>
</main>

<Script src="https://js.upload.io/upload-js-full/v1" />
<Script src="https://js.bytescale.com/upload-js-full/v1" />
</>
);
}
1 change: 1 addition & 0 deletions public/logomarks/bytescale.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/logomarks/uploadio.svg

This file was deleted.

1 comment on commit 41480e4

@vercel
Copy link

@vercel vercel bot commented on 41480e4 Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.