Skip to content

Commit

Permalink
Merge pull request #11 from craftaro/patch/download-link
Browse files Browse the repository at this point in the history
patch: fix download link
  • Loading branch information
Im-Fran authored Mar 1, 2024
2 parents e90df40 + f7b7406 commit 50e48ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.craftaro.serverjars.builder.models

import com.craftaro.serverjars.builder.utils.Crypto
import com.craftaro.serverjars.builder.utils.Storage
import com.craftaro.serverjars.builder.App
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import com.google.gson.JsonParser
Expand Down Expand Up @@ -73,7 +74,7 @@ abstract class SoftwareBuilder {
version = version,
stability = getStability(version),
hash = hash,
download = "https://cdn.craftaro.com/$baseDirectory/$version/$category-$version.jar",
download = "https://cdn.craftaro.com/${App.env["SERVERJARS_FOLDER"]}/$baseDirectory/$version/$category-$version.jar",
built = System.currentTimeMillis(),
size = SoftwareFileSize(
bytes = bytes.size,
Expand Down

0 comments on commit 50e48ff

Please sign in to comment.