# README
static-file-server
A simple static file server using golang's built-int http
package.
Built so that I could primarily use golang as my toolchain without pulling in other language or OS dependencies.
Warning
This package is meant for extremely simple development work and should absolutely not be used for anything production-facing. For the ease of development, this server set's it's CORS completely open. This is a huge security vulnerability if used outside of local development, which is why you should not use it for external facing applications/users.
Build
go build -o static-file-server main.go
Usage
To see help information:
./static-file-server --help
# Packages
Copyright © 2022 Alex Bechanko [email protected]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.