mirror of
https://github.com/golang/go
synced 2024-11-05 15:46:11 -07:00
51ebb3f1be
This was preventing the playground /compile and /share handlers from being registered under Managed VMs. Change-Id: I690bd50abc2f42b30956e734903d09487f712d4a Reviewed-on: https://go-review.googlesource.com/14665 Reviewed-by: Andrew Gerrand <adg@golang.org>
23 lines
442 B
Go
23 lines
442 B
Go
// Copyright 2012 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build appengine
|
|
|
|
package main
|
|
|
|
import (
|
|
"mime"
|
|
|
|
"golang.org/x/tools/present"
|
|
)
|
|
|
|
func init() {
|
|
initTemplates("./present/")
|
|
present.PlayEnabled = true
|
|
initPlayground("./present/", nil)
|
|
|
|
// App Engine has no /etc/mime.types
|
|
mime.AddExtensionType(".svg", "image/svg+xml")
|
|
}
|