---
title: "mount"
sidebar_label: "mount"
description: "Kotlin binding reference: mount."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[HttpServer](index.md)/[mount](mount.md)

# mount

[common]\
fun [mount](mount.md)(urlPrefix: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), dir: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html))

Serve the files under [dir](mount.md) at [urlPrefix](mount.md).