halkyon/apps/todo/halkyon_todo_server/lib/src/cache_busting.dart

10 lines
288 B
Dart
Raw Normal View History

import 'dart:io';
import 'package:serverpod/serverpod.dart';
/// Cache busting configuration.
/// Used in WidgetRoutes to cache-bust asset paths.
final cacheBustingConfig = CacheBustingConfig(
mountPrefix: '/web',
fileSystemRoot: Directory(Uri(path: 'web/static').toFilePath()),
);