Skip to content

Commit

Permalink
chore: rebrand to CartaBinaria (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta authored Oct 25, 2024
1 parent 7d078cc commit 3768ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Raccolta risorse di CSunibo",
"name": "Raccolta risorse di CartaBinaria",
"short_name": "Risorse",
"start_url": "/",
"display": "standalone",
Expand Down
4 changes: 2 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import nodeAdapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

const BASE_PATH = process.env.BASE_PATH || '';
const CSUNIBO_DEPLOY = process.env.CSUNIBO_DEPLOY === 'true';
const CARTABINARIA_DEPLOY = process.env.CARTABINARIA_DEPLOY === 'true';

/**
*
* @returns {import('@sveltejs/kit').Adapter}
*/
function chooseAdapter() {
if (CSUNIBO_DEPLOY) {
if (CARTABINARIA_DEPLOY) {
return nodeAdapter();
} else {
return vercelAdapter();
Expand Down

0 comments on commit 3768ad6

Please sign in to comment.