Skip to content

Commit abe20f9

Browse files
authored
fix: Fix invalid Cloudflare pricing calculation (#111)
This PR fixes an issue in the Cloudflare pricing calculator where the total amount didn't include the storage request costs.
1 parent b4a14e4 commit abe20f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/CostCalculator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const cf = computed(() => {
4747
storageCost: storedGB.value * 0.015,
4848
};
4949
obj.total =
50-
obj.workerInvocationCost + obj.planCost + obj.storageCost + obj.storageCost;
50+
obj.workerInvocationCost + obj.planCost + obj.storageRequestCost + obj.storageCost;
5151
return obj;
5252
});
5353

0 commit comments

Comments
 (0)