- Add go.mod and go.sum for dependency management - Implement models for List, Field, Item, ItemValue, SyncRequest, SyncResponse, and NotificationEvent - Create notification handling functions including enqueueNotification and ignoreNotificationError - Implement sync functionality to handle data synchronization between client and server - Add web data handling and notification polling endpoints - Include tests for timestamp normalization and sync logic - Embed web assets for serving the frontend application
15 lines
370 B
JavaScript
15 lines
370 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
// Static SPA build: the Go server serves this output and falls back to
|
|
// index.html for any path so SvelteKit's client-side router can take over.
|
|
adapter: adapter({
|
|
fallback: 'index.html',
|
|
}),
|
|
},
|
|
};
|
|
|
|
export default config;
|