close robots

This commit is contained in:
Kseninia Mikhaylova 2024-06-19 13:50:55 +03:00
parent 85306c407a
commit 7a02fe48e0
4 changed files with 6 additions and 8 deletions

View File

@ -12,7 +12,6 @@ const { scrollToAnchor, scrollToTop } = useAnchorScroll({
}, },
}) })
const route = useRoute() const route = useRoute()
console.log({ route })
</script> </script>
<template> <template>
<div class="header"> <div class="header">

View File

@ -7,9 +7,8 @@ import { EXRLoader } from 'three/examples/jsm/Addons.js';
import { useGLTF, } from '@tresjs/cientos' import { useGLTF, } from '@tresjs/cientos'
const section_count = useState<number>('section_count') const section_count = useState<number>('section_count')
const extra_section = useState<number>('extra_section') const extra_section = use_extra_section()
const max_size = use_max_size()
const max_size = useState<number>('max_size', () => 13)
const { scene, renderer, camera } = useTresContext() const { scene, renderer, camera } = useTresContext()
renderer.value.toneMapping = ReinhardToneMapping renderer.value.toneMapping = ReinhardToneMapping

View File

@ -20,8 +20,6 @@ const props = defineProps({
error: Object as () => NuxtError error: Object as () => NuxtError
}) })
const handleError = () => clearError({ redirect: '/' })
</script> </script>
<template> <template>

View File

@ -20,7 +20,9 @@ export default defineNuxtConfig({
assetsInclude: ['**/*.glb', '**/*.gltf'], assetsInclude: ['**/*.glb', '**/*.gltf'],
}, },
robots: { robots: {
UserAgent: '*', rules: {
Disallow: '/', UserAgent: '*',
Disallow: '/',
}
} }
}) })