mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-12 23:46:22 +00:00
Updated
lolisafe.js: fixed a logic faq.njk: fixed typo
This commit is contained in:
parent
5adbe84896
commit
783ac81bf7
@ -221,7 +221,7 @@ safe.use('/api', api)
|
||||
|
||||
// Cache control (safe.fiery.me)
|
||||
// Purge Cloudflare cache
|
||||
if (config.cacheControl === 1)
|
||||
if (config.cacheControl && config.cacheControl !== 2)
|
||||
if (config.cloudflare.purgeCache) {
|
||||
logger.log('Cache control enabled, purging Cloudflare\'s cache...')
|
||||
const results = await utils.purgeCloudflareCache(cdnPages)
|
||||
|
@ -124,7 +124,7 @@
|
||||
<article class="message">
|
||||
<div class="message-body">
|
||||
Yes, the homepage uploader was coded to chunk uploads into {{ chunkSizeInt }} MB pieces by default (configurable through the homepage's Config tab).<br>
|
||||
If you want to chunk your API uploads, feel free to chunks the <a href="https://github.com/BobbyWibowo/lolisafe" target="_blank" rel="noopener">source code</a> to see how it works.<br>
|
||||
If you want to chunk your API uploads, feel free to inspect the <a href="https://github.com/BobbyWibowo/lolisafe" target="_blank" rel="noopener">source code</a> to see how it works.<br>
|
||||
<br>
|
||||
A rough description of how it works is to simply upload the chunks with their UUID information attached, and then call the "finish chunks" API with the said UUID, to rebuild them into a single proper file.
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user