Przeglądaj źródła

Store posts with 13-character IDs

The new IDs will be be served as text/html on write.as, instead of
text/plain.
master
Matt Baer 9 lat temu
rodzic
commit
49f0043470
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      store/store.go

+ 1
- 1
store/store.go Wyświetl plik

@@ -7,7 +7,7 @@ import (
)

const (
FriendlyIdLen = 12
FriendlyIdLen = 13
)

func SavePost(outDir string, post []byte) (string, error) {


Ładowanie…
Anuluj
Zapisz